Méthode | Description | |
---|---|---|
CommandModel ( ) : System | ||
CommandModel ( System.Windows.Input.RoutedCommand routedCommand ) : System | ||
OnExecute ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void |
Function to execute the command.
|
|
OnQueryEnabled ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void |
Determines if a command is enabled. Override to provide custom behavior. Do not call the base version when overriding.
|
public CommandModel ( System.Windows.Input.RoutedCommand routedCommand ) : System | ||
routedCommand | System.Windows.Input.RoutedCommand | |
Résultat | System |
public abstract OnExecute ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void | ||
sender | object | |
e | System.Windows.Input.ExecutedRoutedEventArgs | |
Résultat | void |
public OnQueryEnabled ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void | ||
sender | object | |
e | System.Windows.Input.CanExecuteRoutedEventArgs | |
Résultat | void |