Provides the base class from which the classes that represent RadSheetEditor commands are delivered.
Definition
Namespace:Telerik.WinForms.Controls.Spreadsheet.Commands
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Type Parameters:
T
The type of the T.
Syntax:
public abstract class RadSheetEditorCommandBase<T> : ICommand where T : RadSheetEditorBase
Inheritance: objectRadSheetEditorCommandBase<T>
Derived Classes:
Implements:
Constructors
Initializes a new instance of the RadSheetEditorCommandBase<T> class.
protected RadSheetEditorCommandBase(T associatedSheetEditor)
The associated sheet editor.
Properties
Gets the associated sheet editor.
public T AssociatedSheetEditor { get; }
The associated sheet 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: