Table of Contents

Method AddWithText

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

AddWithText(string)

Creates a new TreeControlItem, assigns text to it, adds it as the last child of this item in the tree, and returns it.

public virtual TreeControlItem AddWithText(string text)

Parameters

text string

The text to assign to the item.

Returns

TreeControlItem

The newly created TreeControlItem with the specified text, added as the last child of this item in the tree.