Class
DocumentMapNodeModel

Represents a node in the DocumentMap hierarchy. Used from SL and WPF viewers

Definition

Namespace:Telerik.ReportViewer.Common

Assembly:Telerik.ReportViewer.Wpf.dll

Syntax:

cs-api-definition
public class DocumentMapNodeModel : ObservableObject

Inheritance: objectObservableObjectDocumentMapNodeModel

Inherited Members ObservableObject.OnPropertyChanged(string)ObservableObject.PropertyChanged

Constructors

DocumentMapNodeModel(IBookmarkNode)

Creates a new instance of DocumentMapNodeModel.

Declaration

cs-api-definition
public DocumentMapNodeModel(IBookmarkNode bookmark)

Parameters

bookmark

IBookmarkNode

Properties

BookmarkId

The identifier of the BookmarkNode this model points to.

Declaration

cs-api-definition
public string BookmarkId { get; }

Property Value

string

Children

The list of all child BookmarkNodes.

Declaration

cs-api-definition
public List<DocumentMapNodeModel> Children { get; }

Property Value

List<DocumentMapNodeModel>

IsExpanded

Determines if the corresponding UI node is expanded.

Declaration

cs-api-definition
public bool IsExpanded { get; set; }

Property Value

bool

Label

The text of the current BookmarkNode when displayed in the report viewer's Document Map.

Declaration

cs-api-definition
public string Label { get; }

Property Value

string

Page

The number of the page where the current bookmark appears.

Declaration

cs-api-definition
public int Page { get; }

Property Value

int

Text

The text of the current BookmarkNode when displayed in the report viewer's Document Map.

Declaration

cs-api-definition
public string Text { get; }

Property Value

string

X

The X-coordinate of the location in the page of the current bookmark.

Declaration

cs-api-definition
public int X { get; }

Property Value

int

Y

The Y-coordinate of the location in the page of the current bookmark.

Declaration

cs-api-definition
public int Y { get; }

Property Value

int