Class
ActivateBookmarkItemCommand

Command representing the Bookmark activated action (usually a user click event). When executed, the viewer will display the related Bookmark destination or execute the provided action.

Definition

Namespace:Telerik.Windows.Documents.Commands

Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll

Syntax:

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

Inheritance: objectFixedDocumentViewerCommandBaseActivateBookmarkItemCommand

Implements: ICommand

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

Constructors

ActivateBookmarkItemCommand(FixedDocumentViewerBase)

Initializes a new instance of the ActivateBookmarkItemCommand class.

Declaration

cs-api-definition
public ActivateBookmarkItemCommand(FixedDocumentViewerBase fixedDocumentViewerBase)

Parameters

fixedDocumentViewerBase

FixedDocumentViewerBase

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

Methods

Execute(object)

Applies the destination, if any, for the activated BookmarkItem instance or executes the provided action.

Declaration

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

Parameters

parameter

object

The BookmarkItem instance to be activated.

Overrides FixedDocumentViewerCommandBase.Execute(object)