PromptPlus API:TreeNode
TreeNode<T>
Namespace: PPlus.Controls
Represents the tree node
public class TreeNode<T>
Type Parameters
T
type of Node
Inheritance Object → TreeNode<T>
Properties
Childrens
List of Children’s nodes of node
public List<TreeNode<T>> Childrens { get; internal set; }
Property Value
List<TreeNode<T>>
IsDisabled
Node disabled
public bool IsDisabled { get; internal set; }
Property Value
IsExpanded
Node expandend
public bool IsExpanded { get; internal set; }
Property Value
IsHasChild
Node has Child
public bool IsHasChild { get; }
Property Value
IsMarked
Node Marked
public bool IsMarked { get; internal set; }
Property Value
IsRoot
Node Is root. Top Level
public bool IsRoot { get; }
Property Value
IsSelected
Node Current.
public bool IsSelected { get; internal set; }
Property Value
Level
Node Level
public int Level { get; internal set; }
Property Value
NextNode
Next node
public TreeNode<T> NextNode { get; internal set; }
Property Value
Parent
Parent node
public TreeNode<T> Parent { get; internal set; }
Property Value
PrevNode
Previus node
public TreeNode<T> PrevNode { get; internal set; }
Property Value
Text
Text Node
public string Text { get; internal set; }
Property Value
Value
Value of node
public T Value { get; internal set; }
Property Value
T
Constructors
TreeNode()
Create a tree node
public TreeNode()