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

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:

C#
public class SyncCurrentBookmarkItemCommand : FixedDocumentViewerCommandBase, ICommand

Inheritance: objectFixedDocumentViewerCommandBaseSyncCurrentBookmarkItemCommand

Implements: ICommand

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

Constructors

Initializes a new instance of the SyncCurrentBookmarkItemCommand class.

C#
public SyncCurrentBookmarkItemCommand(FixedDocumentViewerBase fixedDocumentViewerBase)
Parameters:fixedDocumentViewerBaseFixedDocumentViewerBase

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

Methods

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

C#
public override void Execute(object parameter)
Parameters:parameterobject

Can be set to null.

Overrides: FixedDocumentViewerCommandBase.Execute(object)