Class SyntaxEditorCommandBase
Class SyntaxEditorCommandBase. Implements the System.Windows.Input.ICommand
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.SyntaxEditor.Commands
Assembly: Telerik.Windows.Controls.SyntaxEditor.dll
Syntax
public abstract class SyntaxEditorCommandBase : ICommand
Constructors
SyntaxEditorCommandBase(RadSyntaxEditor)
Initializes a new instance of the SyntaxEditorCommandBase class.
Declaration
protected SyntaxEditorCommandBase(RadSyntaxEditor editor)
Parameters
RadSyntaxEditor
editor
The editor. |
Properties
AssociatedSyntaxEditor
Gets the associated code editor.
Declaration
public RadSyntaxEditor AssociatedSyntaxEditor { get; }
Property Value
RadSyntaxEditor
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.Object
parameter
Data used by the command. If the command does not require data to be passed, this object can be set to null. |
Returns
System.Boolean
true if this command can be executed; otherwise, false. |
CanExecuteOverride(Object)
Determines whether this instance [can execute override] the specified parameter.
Declaration
protected abstract bool CanExecuteOverride(object parameter)
Parameters
System.Object
parameter
The parameter. |
Returns
System.Boolean
|
Execute(Object)
Defines the method to be called when the command is invoked.
Declaration
public void Execute(object parameter)
Parameters
System.Object
parameter
Data used by the command. If the command does not require data to be passed, this object can be set to null. |
ExecuteOverride(Object)
Executes the override.
Declaration
protected abstract void ExecuteOverride(object parameter)
Parameters
System.Object
parameter
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.EventHandler
|