[]
        
(Showing Draft Content)

C1.C1Preview.OutlineNode

OutlineNode Class

Represents an outline node within a C1PrintDocument.

Inheritance
OutlineNode
Implements
Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
[C1ClassSerialization(true)]
public class OutlineNode : ICloneable

Constructors

Name Description
OutlineNode()

Initializes a new instance of the OutlineNode class.

OutlineNode(string)

Initializes a new instance of the OutlineNode class.

OutlineNode(string, C1LinkTarget)

Initializes a new instance of the OutlineNode class.

OutlineNode(string, IDocumentLocation)

Initializes a new instance of the OutlineNode class.

OutlineNode(string, IDocumentLocation, Icon)

Initializes a new instance of the OutlineNode class.

Properties

Name Description
Caption

Gets or sets the UI string used to represent the current node.

Children

Gets the collection of child nodes of the current node. Note that accessing this property initializes the collection if it has not been initialized yet. To test whether there are child nodes without this side effect, use the HasChildren property.

Document

Gets the C1PrintDocument containing the current node tree.

HasChildren

Gets a value indicating whether the Children collection of the current node has been initialized and contains at least one element.

Icon

Gets or sets the icon used to represent the current node.

IconName

Gets or sets the name in the Dictionary of the icon used to represent the current node.

Level

Gets the nesting level of the current node within the nodes' tree (top-level nodes have level 0).

LinkTarget

Determines the target of the current hyperlink.

Location

Gets or sets the IDocumentLocation associated with the current node.

Owner

Gets the OutlineNodeCollection containing the current node.

Parent

Gets the OutlineNode which is the parent of the current node.

TopParent

Gets the OutlineNode that is the root of the current node tree.

Methods

Name Description
Clone()

Creates a copy of the current OutlineNode. This method NOT copies Children property.