Свойство | Type | Description | |
---|---|---|---|
IsCommandSinkProperty |
Méthode | Description | |
---|---|---|
GetIsCommandSink ( |
Gets the value of the attached IsCommandSink property for the specified object.
|
|
SetIsCommandSink ( |
Sets the value of the attached IsCommandSink property for the specified object.
|
Méthode | Description | |
---|---|---|
CanExecuteCore ( object parameter ) : bool |
Child classes override this method to provide logic which determines if the command can execute. This method will only be invoked if no element in the tree indicated that it can execute the command.
|
|
ExecuteCore ( object parameter ) : void |
Child classes override this method to provide default execution logic. This method will only be invoked if CanExecuteCore returns true.
|
Méthode | Description | |
---|---|---|
OnCanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void | ||
OnExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void | ||
OnIsCommandSinkChanged ( |
Invoked when the IsCommandSink attached property is set on an element.
|
protected abstract CanExecuteCore ( object parameter ) : bool | ||
parameter | object | The command parameter (optional). |
Résultat | bool |
protected abstract ExecuteCore ( object parameter ) : void | ||
parameter | object | The command parameter (optional). |
Résultat | void |
public static GetIsCommandSink ( |
||
obj | ||
Résultat | bool |
public static SetIsCommandSink ( |
||
obj | ||
value | bool | |
Résultat | void |