Class SyntaxEditorCommandBase. Implements the ICommand
Definition
Namespace:Telerik.WinForms.SyntaxEditor.Commands
Assembly:Telerik.WinControls.SyntaxEditor.dll
Syntax:
C#
public abstract class SyntaxEditorCommandBase : ICommand
Inheritance: objectSyntaxEditorCommandBase
Derived Classes:
Implements:
Constructors
Initializes a new instance of the SyntaxEditorCommandBase class.
C#
protected SyntaxEditorCommandBase(RadSyntaxEditorElement editor)
The editor.
Properties
Gets the associated code editor.
C#
public RadSyntaxEditorElement AssociatedSyntaxEditor { get; }
The associated code editor.
Methods
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.
C#
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:
Executes the override.
C#
protected abstract void ExecuteOverride(object parameter)
The parameter.
Called when [can execute changed].
C#
protected virtual void OnCanExecuteChanged()
Events
CanExecuteChanged event.
C#
public event EventHandler CanExecuteChanged
Implements: