Skip to the content.

PromptPlus API:TreeNode

Build Publish License NuGet Downloads

Back to List Api

TreeNode<T>

Namespace: PPlus.Controls

Represents the tree node

public class TreeNode<T>

Type Parameters

T
type of Node

Inheritance ObjectTreeNode<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

Boolean

IsExpanded

Node expandend

public bool IsExpanded { get; internal set; }

Property Value

Boolean

IsHasChild

Node has Child

public bool IsHasChild { get; }

Property Value

Boolean

IsMarked

Node Marked

public bool IsMarked { get; internal set; }

Property Value

Boolean

IsRoot

Node Is root. Top Level

public bool IsRoot { get; }

Property Value

Boolean

IsSelected

Node Current.

public bool IsSelected { get; internal set; }

Property Value

Boolean

Level

Node Level

public int Level { get; internal set; }

Property Value

Int32

NextNode

Next node

public TreeNode<T> NextNode { get; internal set; }

Property Value

TreeNode<T>

Parent

Parent node

public TreeNode<T> Parent { get; internal set; }

Property Value

TreeNode<T>

PrevNode

Previus node

public TreeNode<T> PrevNode { get; internal set; }

Property Value

TreeNode<T>

Text

Text Node

public string Text { get; internal set; }

Property Value

String

Value

Value of node

public T Value { get; internal set; }

Property Value

T

Constructors

TreeNode()

Create a tree node

public TreeNode()

Back to List Api