Méthode | Description | |
---|---|---|
OnCanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void |
The method that is called when the CanExecute RoutedEvent for the ICommand associated with this RoutedCommandBinding should be handled. Inheriting types must provide an implementation for this method.
|
|
OnExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void |
The method that is called when the Executed RoutedEvent for the ICommand associated with this RoutedCommandBinding should be handled. Inheriting types must provide an implementation for this method.
|
|
OnPreviewCanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void |
The method that is called when the PreviewCanExecute RoutedEvent for the ICommand associated with this RoutedCommandBinding should be handled. Inheriting types must provide an implementation for this method.
|
|
OnPreviewExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void |
The method that is called when the PreviewExecuted RoutedEvent for the ICommand associated with this RoutedCommandBinding should be handled. Inheriting types must provide an implementation for this method.
|
|
RoutedCommandBinding ( ICommand command ) : System.Windows |
Initializes a new instance of the RoutedCommandBinding class by using the specified ICommand.
|
Méthode | Description | |
---|---|---|
RoutedCommandBinding ( ) : System.Windows |
protected abstract OnCanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void | ||
sender | object | The command target on which the command is executing. |
e | System.Windows.Input.CanExecuteRoutedEventArgs | The event data. |
Résultat | void |
protected abstract OnExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void | ||
sender | object | The command target on which the command is executing. |
e | System.Windows.Input.ExecutedRoutedEventArgs | The event data. |
Résultat | void |
protected abstract OnPreviewCanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void | ||
sender | object | The command target on which the command is executing. |
e | System.Windows.Input.CanExecuteRoutedEventArgs | The event data. |
Résultat | void |
protected abstract OnPreviewExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void | ||
sender | object | The command target on which the command is executing. |
e | System.Windows.Input.ExecutedRoutedEventArgs | The event data. |
Résultat | void |
protected RoutedCommandBinding ( ICommand command ) : System.Windows | ||
command | ICommand | |
Résultat | System.Windows |