ClassCellEditorCommandBase<T>
Represents class that describes ICellEditor Command.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Commands
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Type Parameters:
T
The type of the T.
Syntax:
public abstract class CellEditorCommandBase<T> : ICommand where T : ICellEditor
Inheritance: objectCellEditorCommandBase<T>
Derived Classes:
Implements:
Constructors
CellEditorCommandBase(T)
Initializes a new instance of the CellEditorCommandBase<T> class.
Declaration
protected CellEditorCommandBase(T associatedCellEditor)
Parameters
associatedCellEditor
T
The associated cell editor.
Properties
AssociatedCellEditor
Gets the associated cell editor.
Declaration
public T AssociatedCellEditor { get; }
Property Value
T
The associated cell editor.
Methods
CanExecute(object)
Defines the method that determines whether the command can execute in its current state.
CanExecuteOverride(object)
Defines the method that determines whether the command can execute in its current state.
Execute(object)
Defines the method to be called when the command is invoked.
Declaration
public void Execute(object parameter)
Parameters
parameter
Data used by the command. If the command does not require data to be passed, this object can be set to null.
Implements
ExecuteOverride(object)
Defines the method to be called when the command is invoked.
Declaration
protected abstract void ExecuteOverride(object parameter)
Parameters
parameter
Data used by the command. If the command does not require data to be passed, this object can be set to null.
OnCanExecuteChanged()
Called when [can execute changed].
Declaration
protected virtual void OnCanExecuteChanged()
Events
CanExecuteChanged
Occurs when changes occur that affect whether or not the command should execute.
Declaration
public event EventHandler CanExecuteChanged
Event Value
Implements