Table of Contents

Method EndLabelEdit

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

EndLabelEdit(TreeViewItem, bool)

Ends the label editing process for the specified TreeViewItem.

void EndLabelEdit(TreeViewItem item, bool cancel)

Parameters

item TreeViewItem

The TreeViewItem whose label editing is being finalized. Cannot be null.

cancel bool

true to cancel the label editing and discard changes; otherwise, false to apply the changes made during editing.

Remarks

If cancel is true, any modifications to the label are discarded. If cancel is false, the changes are applied to the item.