Represents class that describes ICellEditor Command.
Definition
Namespace:Telerik.WinForms.Controls.Spreadsheet.Commands
Assembly:Telerik.WinControls.RadSpreadsheet.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
Initializes a new instance of the CellEditorCommandBase<T> class.
protected CellEditorCommandBase(T associatedCellEditor)
The associated cell editor.
Properties
Gets the associated cell editor.
public T AssociatedCellEditor { get; }
The associated cell editor.
Methods
Defines the method that determines whether the command can execute in its current state.
Defines the method that determines whether the command can execute in its current state.
Defines the method to be called when the command is invoked.
public void Execute(object parameter)
Data used by the command. If the command does not require data to be passed, this object can be set to null.
Implements:
Defines the method to be called when the command is invoked.
protected abstract void ExecuteOverride(object parameter)
Data used by the command. If the command does not require data to be passed, this object can be set to null.
Called when [can execute changed].
protected virtual void OnCanExecuteChanged()
Events
Occurs when changes occur that affect whether or not the command should execute.
public event EventHandler CanExecuteChanged
Implements: