Class SyntaxEditorCommandBase
Class SyntaxEditorCommandBase.
Implements the System.
Inheritance
Namespace: Telerik.Windows.Controls.SyntaxEditor.Commands
Assembly: Telerik.Windows.Controls.SyntaxEditor.dll
Syntax
public abstract class SyntaxEditorCommandBase : Object, ICommand
Constructors
SyntaxEditorCommandBase(RadSyntaxEditor)
Initializes a new instance of the Syntax
Declaration
protected SyntaxEditorCommandBase(RadSyntaxEditor editor)
Parameters
Rad The editor. |
Properties
AssociatedSyntaxEditor
Gets the associated code editor.
Declaration
public RadSyntaxEditor 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. |
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. |
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.
|