Nevron .NET Vision
BeforeCollapse Event (NTreeView)


Syntax
'Declaration
 
<SRDescriptionAttribute("Occurs when a node is about to be collapsed.")>
<SRCategoryAttribute("Behavior")>
Public Event BeforeCollapse As System.Windows.Forms.TreeViewCancelEventHandler
'Usage
 
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.")]
[SRCategory("Behavior")]
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.

PropertyDescription
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.  
Requirements

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

Reference

NTreeView Class
NTreeView Members

 

 


©2022. Nevron Software LLC.

Send Feedback