This documentation is archived and is not being maintained.
TreeView.AfterExpand Event
.NET Framework 1.1
Occurs after the tree node is expanded.
[Visual Basic] Public Event AfterExpand As TreeViewEventHandler [C#] public event TreeViewEventHandler AfterExpand; [C++] public: __event TreeViewEventHandler* AfterExpand;
[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.
Event Data
The event handler receives an argument of type TreeViewEventArgs containing data related to this event. The following TreeViewEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Action | Gets the type of action that raised the event. |
| Node | Gets the tree node that has been checked, expanded, collapsed, or selected. |
Remarks
For more information about handling events, see Consuming Events.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
TreeView Class | TreeView Members | System.Windows.Forms Namespace | OnAfterExpand | BeforeExpand | OnBeforeExpand
Show: