Table of Contents

Method Remove

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

Remove()

Removes the tree item from the tree view control.

public virtual void Remove()

Remarks

When the Remove() method is called, the tree item, and any child tree items that are assigned to the TreeViewItem, are removed from the tree view control.

Remove(TreeViewItem)

Removes the specified child item from this tree control item.

public virtual bool Remove(TreeViewItem item)

Parameters

item TreeViewItem

The item to remove.

Returns

bool

true if the item was successfully removed; otherwise, false.