The BookmarksViewer type exposes the following members.

Constructors

  NameDescription
Public methodBookmarksViewer
Create a new BookmarksViewer.

Methods

  NameDescription
Public methodBeginTitleEdit
Initiates the editing of the title of the selected bookmark.
Public methodCollapse
Collapse bookmark.
Public methodCollapseAll
Collapses all bookmarks.
Protected methodDispose
Clean up any resources being used.
(Overrides Control..::..Dispose(Boolean).)
Public methodExpand
Expand bookmark.
Public methodExpandAll
Expands all bookmarks.
Public methodIsExpanded
Checks whether the bookmark is in the expanded state.

Properties

  NameDescription
Public propertyActionHandler
This ActionHandler is responsible for executing actions that are associated with events that are raised by this BookmarksViewer.
Public propertyDocument
The PDF document that holds the bookmarks that are displayed by this control.
Public propertyImageList
Gets or sets the System.Windows.Forms.ImageList that contains the icons for the bookmark nodes in this viewer.
Public propertyPagesViewer
The associated PagesViewer control. When the user clicks an node in the bookmark tree, this PagesViewer control will behave accordingly.
Public propertySelectedBookmark
The bookmark that is currently selected.
Public propertyTitleEdit
Gets or sets a value indicating whether the title of the selected bookmark can be edited.

Events

  NameDescription
Public eventAfterBookmarkSelected
Fired after the bookmark has been selected. If the cancel flag of this event gets set, the actions that are associated with this bookmark will not be executed.
Public eventAfterBookmarkTitleEdit
Raised after the bookmark title has been edited.
Public eventBeforeBookmarkTitleEdit
Raised before the bookmark title is edited.
Public eventSetBookmarkIcon
Fired when a bookmark is shown for the first time in the bookmarks viewer or when the bookmark has changed. Handle this event to set a custom icon.

See Also