Nevron .NET Vision
BeforeCollapse Event (NTreeView)

<SRDescriptionAttribute("Occurs when a node is about to be collapsed.")>
Public Event BeforeCollapse As System.Windows.Forms.TreeViewCancelEventHandler
Dim instance As NTreeView
Dim handler As System.Windows.Forms.TreeViewCancelEventHandler
AddHandler instance.BeforeCollapse, handler
[SRDescription("Occurs when a node is about to be collapsed.")]
public event System.Windows.Forms.TreeViewCancelEventHandler BeforeCollapse
Event Data

The event handler receives an argument of type System.Windows.Forms.TreeViewCancelEventArgs containing data related to this event. The following TreeViewCancelEventArgs properties provide information specific to this event.

ActionGets the type of System.Windows.Forms.TreeView action that raised the event.  
Cancel (Inherited from System.ComponentModel.CancelEventArgs)
NodeGets the tree node to be checked, expanded, collapsed, or selected.  

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


NTreeView Class
NTreeView Members



©2022. Nevron Software LLC.

Send Feedback