Class
SyncCurrentBookmarkItemCommand

Command representing the action of synchronizing to the BookmarkItem instance related to the viewer's current page.

Definition

Namespace:Telerik.Windows.Documents.Commands

Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll

Syntax:

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

Inheritance: objectFixedDocumentViewerCommandBaseSyncCurrentBookmarkItemCommand

Implements: ICommand

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

Constructors

SyncCurrentBookmarkItemCommand(FixedDocumentViewerBase)

Initializes a new instance of the SyncCurrentBookmarkItemCommand class.

Declaration

cs-api-definition
public SyncCurrentBookmarkItemCommand(FixedDocumentViewerBase fixedDocumentViewerBase)

Parameters

fixedDocumentViewerBase

FixedDocumentViewerBase

Instance of the document viewer the command will be applied for.

Methods

Execute(object)

Finds the most appropriate BookmarkItem instance according to the viewer's current page.

Declaration

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

Parameters

parameter

object

Can be set to null.

Overrides FixedDocumentViewerCommandBase.Execute(object)