'Declaration
<SRCategoryAttribute("CatBehavior")> <SRDescriptionAttribute("TreeViewBeforeExpandDescr")> Public Event BeforeExpand As System.Windows.Forms.TreeViewCancelEventHandler
'Usage
Dim instance As NTreeView Dim handler As System.Windows.Forms.TreeViewCancelEventHandler AddHandler instance.BeforeExpand, handler
[SRCategory("CatBehavior")] [SRDescription("TreeViewBeforeExpandDescr")] public event System.Windows.Forms.TreeViewCancelEventHandler BeforeExpand
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.
Property | Description |
---|---|
Action | Gets the type of System.Windows.Forms.TreeView action that raised the event. |
Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
Node | Gets 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