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
titlestringThe 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
itemTreeControlItemThe item to add.
selectItemboolIf true, the item will be selected after being added.