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

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:

C#
public class ActivateBookmarkItemCommand : FixedDocumentViewerCommandBase, ICommand

Inheritance: objectFixedDocumentViewerCommandBaseActivateBookmarkItemCommand

Implements: ICommand

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

Constructors

Initializes a new instance of the ActivateBookmarkItemCommand class.

C#
public ActivateBookmarkItemCommand(FixedDocumentViewerBase fixedDocumentViewerBase)
Parameters:fixedDocumentViewerBaseFixedDocumentViewerBase

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

Methods

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

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

The BookmarkItem instance to be activated.

Overrides: FixedDocumentViewerCommandBase.Execute(object)