New to Telerik UI for WinFormsStart a free 30-day trial

Class MoveCaretCommand. Implements the SyntaxEditorCommandBase

Definition

Namespace:Telerik.WinForms.SyntaxEditor.Commands

Assembly:Telerik.WinControls.SyntaxEditor.dll

Syntax:

C#
public class MoveCaretCommand : SyntaxEditorCommandBase, ICommand

Inheritance: objectSyntaxEditorCommandBaseMoveCaretCommand

Implements: ICommand

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

Constructors

Initializes a new instance of the MoveCaretCommand class.

C#
public MoveCaretCommand(RadSyntaxEditorElement editor)
Parameters:editorRadSyntaxEditorElement

The editor.

Methods

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

C#
protected override bool CanExecuteOverride(object parameter)
Parameters:parameterobject

The parameter.

Returns:

bool

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

Overrides: SyntaxEditorCommandBase.CanExecuteOverride(object)

Executes the override.

C#
protected override void ExecuteOverride(object parameter)
Parameters:parameterobject

The parameter.

Overrides: SyntaxEditorCommandBase.ExecuteOverride(object)