Свойство | Тип | Описание | |
---|---|---|---|
IsCommandSinkProperty |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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). |
Результат | bool |
protected abstract ExecuteCore ( object parameter ) : void | ||
parameter | object | The command parameter (optional). |
Результат | void |
public static GetIsCommandSink ( |
||
obj | ||
Результат | bool |
public static SetIsCommandSink ( |
||
obj | ||
value | bool | |
Результат | void |