RoutedCommand
Defines a command whose availability and execution are supplied by an implementation.
The default methods in this compatibility implementation throw NotImplementedException; CanExecuteChanged is never raised.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public class RoutedCommand : ICommand
Inheritance: objectRoutedCommand
Derived Classes:
Implements:
Constructors
public RoutedCommand()
Methods
Attempts to determine whether this command can execute.
public virtual bool CanExecute(object parameter)
Command-specific data.
Returns:The command's availability.
Exceptions: NotImplementedExceptionAvailability checking is not implemented.
Implements:
Attempts to execute this command.
public virtual void Execute(object parameter)
Command-specific data.
Exceptions: NotImplementedExceptionCommand execution is not implemented.
Implements:
Events
Declares the command-availability notification; this implementation does not raise the event.
public event EventHandler CanExecuteChanged
Implements: