Class
ScrollCommand

Represents scroll command.

Definition

Namespace:Telerik.Windows.Documents.Commands

Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll

Syntax:

cs-api-definition
public class ScrollCommand : FixedDocumentViewerCommandBase, ICommand

Inheritance: objectFixedDocumentViewerCommandBaseScrollCommand

Implements: ICommand

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

Constructors

ScrollCommand(FixedDocumentViewerBase, double, double)

Initializes a new instance of the ScrollCommand class.

Declaration

cs-api-definition
public ScrollCommand(FixedDocumentViewerBase fixedDocumentViewerBase, double offsetX, double offsetY)

Parameters

fixedDocumentViewerBase

FixedDocumentViewerBase

The fixed document viewer base.

offsetX

double

The offset X.

offsetY

double

The offset Y.

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)