Skip to content

TreeViewNode class

Represents a node in a tree view.

Guide: C# Markup guide

public sealed class TreeViewNode
name description
TreeViewNode(…) Initializes a new instance of the TreeViewNode class.
Children { get; set; } Gets or sets the child nodes collection.
HasChildren { get; } Gets whether this node has child nodes.
Tag { get; set; } Gets or sets custom user data.
Text { get; set; } Gets or sets the node text.