Method Add
Add(string)
Adds a new item with the specified title to the tree view on the root level.
public virtual TreeControlItem Add(string title)
Parameters
title
stringThe title of the item to add.
Returns
Remarks
This method creates a new TreeControlItem with the specified title and adds it to the root level of the tree view.
Add(TreeControlItem, bool)
Adds the specified item to the tree view on the root level.
public virtual bool Add(TreeControlItem item, bool selectItem = false)
Parameters
item
TreeControlItemThe item to add.
selectItem
boolIf true, the item will be selected after being added.