Skip to content

TreeListNode class

Represents a node of the tree list control.

public class TreeListNode

Public Members

name description
TreeListNode() The default constructor.
Content { get; set; } Gets or sets the data item the node represents.
HasChildren { get; set; } Gets or sets whether the node has child nodes.
Id { get; } Gets the node's unique identifier.
Image { get; set; } Gets or sets the node's image.
IsChecked { get; set; } Gets or sets the node's check state.
IsExpanded { get; set; } Gets or sets whether the node is expanded.
IsSelected { get; } Gets whether the node is selected.
IsVisible { get; } Gets whether the node is visible.
Level { get; } Gets the node's nesting level.
Nodes { get; } Gets the collection of the node's child nodes.
ParentNode { get; } Gets the node's parent node.
Tag { get; set; } Gets or sets custom data associated with the node.
TreeList { get; } Gets the tree list control that owns the node.
HasAsParent(…) Gets whether the specified node is the node's ancestor.

See Also