Skip to content

PdfDocumentOutlineView Class

Definition

Namespace: Xfinium.Pdf.View

Defines a control that displays the outline of a PDF document.

C#
public class PdfDocumentOutlineView : TreeView, IResource, IAnimatable, IInputElement, IFrameworkInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, IAddChild, IGeneratorHost, IContainItemStorage

Inheritance: Object → DispatcherObject → DependencyObject → Visual → UIElement → FrameworkElement → Control → ItemsControl → TreeView → PdfDocumentOutlineView

Implements: IResource, IAnimatable, IInputElement, IFrameworkInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, IAddChild, IGeneratorHost, IContainItemStorage

Remarks

The PdfDocumentOutlineView control displays the outline of a PDF document. The outline is a hierarchical structure that represents the organization of the document's content. Each entry in the outline corresponds to a specific section or topic within the document, allowing users to navigate through the document easily.
The user can interact with the outline to jump to different sections of the document.

Constructor

Name Description
PdfDocumentOutlineView() Initializes a new instance of the PdfDocumentOutlineView class.

Fields

Name Description
DocumentViewProperty DocumentView Dependency Property
ShowDefaultContextMenuProperty ShowDefaultContextMenu Dependency Property

Properties

Name Description
Document Gets or sets the visual document for which the outline is displayed.
DocumentView Gets or sets the document view that displays the document content.
SelectedOutlineItem Gets the currently selected outline item in the outline view.
ShowDefaultContextMenu Gets of sets a flag indicating whether the default context menu should be displayed when right-clicking on an outline item.

Events

Name Description
BeforeOutlineItemAdd Gets or sets the event that is fired when an outline item is about to be added to a PDF document.
AfterOutlineItemAdd Gets or sets the event that is fired after an outline item has been added.
BeforeOutlineItemDelete Gets or sets the event that is fired when an outline item is about to be deleted using the DEL key or the default content menu.
AfterOutlineItemDelete Gets or sets the event that is fired after an outline item has been deleted.
OutlineItemSelected Gets or sets the event that is fired when an outline item has been selected.
OutlineItemUnselected Gets or sets the event that is fired when an outline item has been unselected.