Свойство | Тип | Описание | |
---|---|---|---|
IsCommandSinkProperty |
Метод | Описание | |
---|---|---|
GetIsCommandSink ( |
Returns a value indicating whether or not the specified DependencyObject is a command sink or not.
|
|
SetIsCommandSink ( |
Sets the value indicating whether or not the specified DependencyObject is a command sink or not.
|
|
SmartRoutedUICommand ( string text, |
Initializes a new instance of the SmartRoutedUICommand class, specifying a label and an owner class.
|
Метод | Описание | |
---|---|---|
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 |
Event handler, called when CanExecute changes.
|
|
OnExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void |
Event handler, called when Executed changes.
|
|
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 | the object to check | |
Результат | bool |
public static SetIsCommandSink ( |
||
obj | the object to modify | |
value | bool | true if the passed object is a command sink, false otherwise |
Результат | void |
public SmartRoutedUICommand ( string text, |
||
text | string | the label to use |
ownerType | the owner class to use | |
Результат | System |