Class
MoveCaretToStartOfDocumentCommand

Represents move caret to start of document command.

Definition

Namespace:Telerik.Windows.Documents.Commands

Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll

Syntax:

cs-api-definition
public class MoveCaretToStartOfDocumentCommand : MoveCaretCommandBase, ICommand

Inheritance: objectFixedDocumentViewerCommandBaseMoveCaretCommandBaseMoveCaretToStartOfDocumentCommand

Implements: ICommand

Inherited Members MoveCaretCommandBase.CanExecuteOverride(object)FixedDocumentViewerCommandBase.CanExecute(object)FixedDocumentViewerCommandBase.OnCanExecuteChanged()FixedDocumentViewerCommandBase.ViewerFixedDocumentViewerCommandBase.CanExecuteChanged

Constructors

MoveCaretToStartOfDocumentCommand(FixedDocumentViewerBase)

Initializes a new instance of the MoveCaretToStartOfDocumentCommand class.

Declaration

cs-api-definition
public MoveCaretToStartOfDocumentCommand(FixedDocumentViewerBase viewer)

Parameters

viewer

FixedDocumentViewerBase

The viewer.

Methods

Execute(object)

Defines the method to be called when the command is invoked.

Declaration

cs-api-definition
public override void Execute(object parameter)

Parameters

parameter

object

Data used by the command. If the command does not require data to be passed, this object can be set to null.

Overrides FixedDocumentViewerCommandBase.Execute(object)