ClassCommandBinding
Definition
Namespace:Telerik.WinControls.UI.Utilities.PlatformSpecific
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public class CommandBinding
Inheritance: objectCommandBinding
Constructors
CommandBinding()
Initializes a new instance of the CommandBinding class.
Declaration
public CommandBinding()
CommandBinding(ICommand)
Initializes a new instance of the CommandBinding class by using the specified ICommand.
Declaration
public CommandBinding(ICommand command)
Parameters
command
The command to base the new RoutedCommand on.
CommandBinding(ICommand, ExecutedRoutedEventHandler)
Initializes a new instance of the CommandBinding class by using the specified ICommand and the specified Executed event handler.
Declaration
public CommandBinding(ICommand command, ExecutedRoutedEventHandler executed)
Parameters
command
The command to base the new RoutedCommand on.
executed
The handler for the Executed event on the new RoutedCommand.
CommandBinding(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)
Initializes a new instance of the CommandBinding class by using the specified ICommand and the specified Executed and CanExecute even handlers.
Declaration
public CommandBinding(ICommand command, ExecutedRoutedEventHandler executed, CanExecuteRoutedEventHandler canExecute)
Parameters
command
The command to base the new RoutedCommand on.
executed
The handler for the Executed event on the new RoutedCommand.
canExecute
The handler for the CanExecute event on the new RoutedCommand.
Properties
Events
CanExecute
Occurs when the command associated with this CommandBinding initiates a check to determine whether the command can be executed on the command target.
Declaration
public event CanExecuteRoutedEventHandler CanExecute
Event Value
Executed
Occurs when the command associated with this CommandBinding executes.
Declaration
public event ExecutedRoutedEventHandler Executed
Event Value