CommandBinding
Definition
Namespace:Telerik.WinForms.SyntaxEditor.Commands
Assembly:Telerik.WinControls.SyntaxEditor.dll
Syntax:
public class CommandBinding
Inheritance: objectCommandBinding
Constructors
Initializes a new instance of the class.
public CommandBinding()
Initializes a new instance of the class by using the specified ICommand and the specified and even handlers.
public CommandBinding(ICommand command, ExecutedRoutedEventHandler executed, CanExecuteRoutedEventHandler canExecute)
The command to base the new on.
executedExecutedRoutedEventHandlerThe handler for the event on the new .
canExecuteCanExecuteRoutedEventHandlerThe handler for the event on the new .
Initializes a new instance of the class by using the specified ICommand and the specified event handler.
public CommandBinding(ICommand command, ExecutedRoutedEventHandler executed)
The command to base the new on.
executedExecutedRoutedEventHandlerThe handler for the event on the new .
Properties
Events
Occurs when the command associated with this initiates a check to determine whether the command can be executed on the command target.
public event CanExecuteRoutedEventHandler CanExecute
Occurs when the command associated with this executes.
public event ExecutedRoutedEventHandler Executed
Occurs when the command associated with this initiates a check to determine whether the command can be executed on the current command target.
public event CanExecuteRoutedEventHandler PreviewCanExecute
Occurs when the command associated with this executes.
public event ExecutedRoutedEventHandler PreviewExecuted