New to Telerik ReportingStart a free 30-day trial

Represents a node in the document map hierarchy for a report, used for navigation and outlining.

Definition

Namespace:Telerik.Reporting.Services.Engine

Assembly:Telerik.Reporting.dll

Syntax:

C#
public class DocumentMapNodeModel

Inheritance: objectDocumentMapNodeModel

Constructors

Initializes a new empty instance of the DocumentMapNodeModel class from a bookmark node.

C#
public DocumentMapNodeModel()

Initializes a new instance of the DocumentMapNodeModel class from a bookmark node.

C#
public DocumentMapNodeModel(IBookmarkNode bookmark)
Parameters:bookmarkIBookmarkNode

The bookmark node to initialize from.

Properties

Id

string

Gets the unique identifier of the document map node.

C#
public string Id { get; }

Gets or sets a value indicating whether the node is expanded in the UI.

C#
public bool IsExpanded { get; set; }

Gets the list of child DocumentMapNodeModel nodes. Returns null if there are no children. Compatible with Kendo Treeview.

C#
public List<DocumentMapNodeModel> Items { get; }

Label

string

Gets the label of the document map node. Provided for backwards compatibility.

C#
public string Label { get; }

Page

int

Gets the page number where the node appears in the report.

C#
public int Page { get; }

Text

string

Gets the display text of the document map node.

C#
public string Text { get; }

X

int

Gets the X coordinate of the node's location on the page.

C#
public int X { get; }

Y

int

Gets the Y coordinate of the node's location on the page.

C#
public int Y { get; }