ComponentOne TreeView for WinForms
Collapsing Event

C1.Win.TreeView Namespace > C1TreeView Class : Collapsing Event
Occurs before the tree node is collapsed. Allows to cancel the change.
Syntax
'Declaration
 
<C1DescriptionAttribute("ツリーノードが折りたたまれる前に発生します。変更をキャンセルできます。")>
<C1CategoryAttribute("動作")>
Public Event Collapsing As C1TreeViewCancelEventHandler
[C1Description("ツリーノードが折りたたまれる前に発生します。変更をキャンセルできます。")]
[C1Category("動作")]
public event C1TreeViewCancelEventHandler Collapsing
Event Data

The event handler receives an argument of type C1TreeViewCancelEventArgs containing data related to this event. The following C1TreeViewCancelEventArgs properties provide information specific to this event.

PropertyDescription
(Inherited from System.ComponentModel.CancelEventArgs)
Gets the tree node that has been checked, expanded, collapsed, or selected.  
See Also