Method EndLabelEdit
EndLabelEdit(TreeViewItem?, bool)
Ends the label editing process for the specified TreeViewItem.
public virtual void EndLabelEdit(TreeViewItem? item, bool cancel)
Parameters
itemTreeViewItemThe TreeViewItem whose label editing is being finalized. Cannot be null.
cancelbooltrue to cancel the label editing and discard changes; otherwise, false to apply the changes made during editing.