skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class BookmarkItem

Bookmark node in the PDF outline that triggers a destination or action and structures hierarchical navigation.

Inheritance
System.Object
FixedDocumentElementBase
BookmarkItem
Inherited Members
FixedDocumentElementBase.Parent
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Fixed.Model.Navigation
Assembly: Telerik.Windows.Documents.Fixed.dll

Syntax

public class BookmarkItem : FixedDocumentElementBase, IFixedDocumentElement, IContextClonable<BookmarkItem>

Constructors

BookmarkItem(String, Action)

Create a new BookmarkItem that executes the provided action (and subsequent actions in the collection) when activated.

Declaration
public BookmarkItem(string title, Action action)
Parameters
System.String title

The text to be displayed for this bookmark item.

Action action

The action first action in a collection of actions to be performed when this bookmark item is activated.

Exceptions
System.ArgumentNullException

Thrown when the title or action is null.

BookmarkItem(String, Destination)

Create a new BookmarkItem that navigates to the specified destination when activated.

Declaration
public BookmarkItem(string title, Destination destination)
Parameters
System.String title

The text to be displayed for this bookmark item.

Destination destination

The destination to be displayed when this bookmark item is activated.

Exceptions
System.ArgumentNullException

Thrown when the title or destination is null.

BookmarkItem(String, NamedDestination)

Create a new BookmarkItem that targets the specified named destination for indirect navigation.

Declaration
public BookmarkItem(string title, NamedDestination namedDestination)
Parameters
System.String title

The text to be displayed for this bookmark item.

NamedDestination namedDestination

The named destination to be displayed when this bookmark item is activated.

Exceptions
System.ArgumentNullException

Thrown when the title or namedDestination is null.

Properties

Action

Gets the (obsolete) single action invoked when the bookmark is activated.

Declaration
[Obsolete("Use Actions instead.")]
public Action Action { get; }
Property Value
Action

Actions

Gets the ordered collection of actions executed when the bookmark is activated.

Declaration
public ActionCollection Actions { get; }
Property Value
ActionCollection

The actions.

Children

Gets the collection of direct child bookmarks forming this node's subtree.

Declaration
public BookmarksCollection Children { get; }
Property Value
BookmarksCollection

Destination

Gets the destination shown in the viewer when the bookmark is activated.

Declaration
public Destination Destination { get; }
Property Value
Destination

IsExpanded

Gets or sets whether this bookmark's child items are initially expanded when the document loads, controlling outline visibility.

Declaration
public bool IsExpanded { get; set; }
Property Value
System.Boolean

NamedDestination

Gets the named destination this bookmark resolves to for indirection across the document.

Declaration
public NamedDestination NamedDestination { get; }
Property Value
NamedDestination

TextColor

Gets or sets the bookmark text color (RGB), influencing outline appearance.

Declaration
public RgbColor TextColor { get; set; }
Property Value
RgbColor

Exceptions
System.ArgumentNullException

Thrown when the value is null.

TextStyle

Gets or sets the visual style flags (bold / italic) applied to the bookmark text.

Declaration
public BookmarkItemStyles TextStyle { get; set; }
Property Value
BookmarkItemStyles

Title

Gets or sets the display text shown for the bookmark in the outline panel.

Declaration
public string Title { get; set; }
Property Value
System.String

Exceptions
System.ArgumentNullException

Thrown when the value is null.

Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.