Method PrependWithText
PrependWithText(string)
Creates a new TreeControlItem, assigns text to it, adds it as the first child of this item in the tree, and returns it.
public virtual TreeControlItem PrependWithText(string text)
Parameters
text
stringThe text to assign to the item.
Returns
- TreeControlItem
The newly created TreeControlItem with the specified text, added as the first child of this item in the tree.