Class
SyntaxEditorDelegateCommand

Class SyntaxEditorDelegateCommand. Implements the SyntaxEditorCommandBase

Definition

Namespace:Telerik.Windows.Controls.SyntaxEditor.Commands

Assembly:Telerik.Windows.Controls.SyntaxEditor.dll

Syntax:

cs-api-definition
public class SyntaxEditorDelegateCommand : SyntaxEditorCommandBase, ICommand

Inheritance: objectSyntaxEditorCommandBaseSyntaxEditorDelegateCommand

Derived Classes: SyntaxEditorEditingCommand

Implements: ICommand

Inherited Members SyntaxEditorCommandBase.CanExecute(object)SyntaxEditorCommandBase.Execute(object)SyntaxEditorCommandBase.OnCanExecuteChanged()SyntaxEditorCommandBase.AssociatedSyntaxEditorSyntaxEditorCommandBase.CanExecuteChanged

Constructors

SyntaxEditorDelegateCommand(Action<RadSyntaxEditor, object>, RadSyntaxEditor)

Initializes a new instance of the SyntaxEditorDelegateCommand class.

Declaration

cs-api-definition
public SyntaxEditorDelegateCommand(Action<RadSyntaxEditor, object> commandAction, RadSyntaxEditor editor)

Parameters

commandAction

Action<RadSyntaxEditor, object>

The command action.

editor

RadSyntaxEditor

The editor.

Methods

CanExecuteOverride(object)

Determines whether this instance [can execute override] the specified parameter.

Declaration

cs-api-definition
protected override bool CanExecuteOverride(object parameter)

Parameters

parameter

object

The parameter.

Returns

bool

true if this instance [can execute override] the specified parameter; otherwise, false.

Overrides SyntaxEditorCommandBase.CanExecuteOverride(object)

ExecuteOverride(object)

Executes the override.

Declaration

cs-api-definition
protected override void ExecuteOverride(object parameter)

Parameters

parameter

object

The parameter.

Overrides SyntaxEditorCommandBase.ExecuteOverride(object)