Class
PageUpCommand

Represents page up command.

Definition

Namespace:Telerik.Windows.Documents.Commands

Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll

Syntax:

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

Inheritance: objectFixedDocumentViewerCommandBasePageUpCommand

Implements: ICommand

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

Constructors

PageUpCommand(FixedDocumentViewerBase)

Initializes a new instance of the PageUpCommand class.

Declaration

cs-api-definition
public PageUpCommand(FixedDocumentViewerBase fixedDocumentViewerBase)

Parameters

fixedDocumentViewerBase

FixedDocumentViewerBase

The fixed document viewer base.

Methods

CanExecuteOverride(object)

Determines whether the command can be executed.

Declaration

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

Parameters

parameter

object

The parameter.

Returns

bool

Returns if the command can be executed.

Overrides FixedDocumentViewerCommandBase.CanExecuteOverride(object)

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)