Method Clone
Clone()
Creates a new instance of the TreeViewItem class with the same properties as the current instance.
public virtual TreeViewItem Clone()
Returns
- TreeViewItem
A new TreeViewItem instance that is a copy of the current instance.
Remarks
The returned TreeViewItem is a deep copy of the current instance, including all relevant properties.