Class CommandBinding
Inheritance
Inherited Members
Namespace: Telerik.WinControls.Diagram.Input
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public class CommandBinding
Constructors
CommandBinding()
Initializes a new instance of the System.Windows.Input.CommandBinding class.
Declaration
public CommandBinding()
CommandBinding(ICommand)
Initializes a new instance of the System.Windows.Input.CommandBinding class by using the specified System.Windows.Input.ICommand.
Declaration
public CommandBinding(ICommand command)
Parameters
ICommand
command
The command to base the new System.Windows.Input.RoutedCommand on. |
CommandBinding(ICommand, ExecutedRoutedEventHandler)
Initializes a new instance of the System.Windows.Input.CommandBinding class by using the specified System.Windows.Input.ICommand and the specified System.Windows.Input.CommandBinding.Executed event handler.
Declaration
public CommandBinding(ICommand command, ExecutedRoutedEventHandler executed)
Parameters
ICommand
command
The command to base the new System.Windows.Input.RoutedCommand on. |
ExecutedRoutedEventHandler
executed
The handler for the System.Windows.Input.CommandBinding.Executed event on the new System.Windows.Input.RoutedCommand. |
CommandBinding(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)
Initializes a new instance of the System.Windows.Input.CommandBinding class by using the specified System.Windows.Input.ICommand and the specified System.Windows.Input.CommandBinding.Executed and System.Windows.Input.CommandBinding.CanExecute even handlers.
Declaration
public CommandBinding(ICommand command, ExecutedRoutedEventHandler executed, CanExecuteRoutedEventHandler canExecute)
Parameters
ICommand
command
The command to base the new System.Windows.Input.RoutedCommand on. |
ExecutedRoutedEventHandler
executed
The handler for the System.Windows.Input.CommandBinding.Executed event on the new System.Windows.Input.RoutedCommand. |
CanExecuteRoutedEventHandler
canExecute
The handler for the System.Windows.Input.CommandBinding.CanExecute event on the new System.Windows.Input.RoutedCommand. |
Properties
Command
Events
CanExecute
Occurs when the command associated with this System.Windows.Input.CommandBinding initiates a check to determine whether the command can be executed on the command target.
Declaration
public event CanExecuteRoutedEventHandler CanExecute
Event Type
CanExecuteRoutedEventHandler
|
Executed
Occurs when the command associated with this System.Windows.Input.CommandBinding executes.
Declaration
public event ExecutedRoutedEventHandler Executed
Event Type
ExecutedRoutedEventHandler
|