Class SyntaxEditorCommandBase
Class SyntaxEditorCommandBase. Implements the ICommand
Inheritance
Inherited Members
Namespace: Telerik.WinForms.SyntaxEditor.Commands
Assembly: Telerik.WinControls.SyntaxEditor.dll
Syntax
public abstract class SyntaxEditorCommandBase : ICommand
Constructors
SyntaxEditorCommandBase(RadSyntaxEditorElement)
Initializes a new instance of the Syntax
Declaration
protected SyntaxEditorCommandBase(RadSyntaxEditorElement editor)
Parameters
Rad The editor. |
Properties
AssociatedSyntaxEditor
Gets the associated code editor.
Declaration
public RadSyntaxEditorElement AssociatedSyntaxEditor { get; }
Property Value
Rad The associated code editor. |
Methods
CanExecute(Object)
Defines the method that determines whether the command can execute in its current state.
Declaration
public bool CanExecute(object parameter)
Parameters
System. Data used by the command. If the command does not require data to be passed, this object can be set to null. |
Returns
System. true if this command can be executed; otherwise, false. |
Implements
CanExecuteOverride(Object)
Determines whether this instance [can execute override] the specified parameter.
Declaration
protected abstract bool CanExecuteOverride(object parameter)
Parameters
System. The parameter. |
Returns
System.
|
Execute(Object)
Defines the method to be called when the command is invoked.
Declaration
public void Execute(object parameter)
Parameters
System. 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)
Executes the override.
Declaration
protected abstract void ExecuteOverride(object parameter)
Parameters
System. The parameter. |
OnCanExecuteChanged()
Called when [can execute changed].
Declaration
protected virtual void OnCanExecuteChanged()
Events
CanExecuteChanged
CanExecuteChanged event.
Declaration
public event EventHandler CanExecuteChanged
Event Type
System.
|