Skip to content

ControlExtensions.OnCollapsing method

Adds a handler that runs immediately before a tree item is collapsed.

public static TreeView OnCollapsing(this TreeView treeView,
Action<TreeViewExpansionEventArgs> handler)

Sets: TreeView.Collapsing