Property | Type | Description | |
---|---|---|---|
InvokeCommandEventHandler | void |
Method | Description | |
---|---|---|
CommandBindingExtension ( ) : System.Reflection |
Initializes a new CommandBindingExtension instance. No command is set.
|
|
CommandBindingExtension ( PropertyPath commandPath ) : System.Reflection |
Initializes a new CommandBindingExtension instance. The event arguments are not passed to the command.
|
|
CommandBindingExtension ( PropertyPath commandPath, bool passEventArgumentsToCommand ) : System.Reflection |
Initializes a new CommandBindingExtension instance.
|
|
ProvideValue ( IServiceProvider serviceProvider ) : object |
Provides the value of the CommandBindingExtension. It generates an event handler that is passed to the event in which theCommandBindingExtension is used.
|
Method | Description | |
---|---|---|
InvokeCommandEventHandler ( object sender, EventArgs e ) : void |
The event handler, which is provided as a value for the target value of the CommandBindingExtension. It executes the provided command.
|
public CommandBindingExtension ( ) : System.Reflection | ||
return | System.Reflection |
public CommandBindingExtension ( PropertyPath commandPath ) : System.Reflection | ||
commandPath | PropertyPath | The command to which the event is to be bound. |
return | System.Reflection |
public CommandBindingExtension ( PropertyPath commandPath, bool passEventArgumentsToCommand ) : System.Reflection | ||
commandPath | PropertyPath | The command to which the event is to be bound. |
passEventArgumentsToCommand | bool | Determines whether the arguments of the event to which the command gets bound should be passed to the command as a parameter. |
return | System.Reflection |
public ProvideValue ( IServiceProvider serviceProvider ) : object | ||
serviceProvider | IServiceProvider | A service provider which gives access to the target object and target value of the |
return | object |