프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |