Skip to content

UITreeNode(string, object, bool) Constructor

Definition

Namespace: Brine2D.UI

C#
public UITreeNode(string text, object? tag=null, bool isExpanded=false);

Parameters

text System.String

Display text for the node.

tag System.Object

Optional application data.

isExpanded System.Boolean

Whether the node starts expanded. Defaults to false.