NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TreeView BeforeCollapse Event

[To be supplied.]

The following declaration shows the syntax for a method that handles the BeforeCollapse event.

[Visual Basic]
Private Sub TreeViewName_BeforeCollapse( _
   ByVal sender As Object, _
   ByVal e As TreeViewCancelEventArgs _
)
[C#]
private void TreeViewName_BeforeCollapse(
   object sender,
   TreeViewCancelEventArgs e
);
[C++]
private: void TreeViewName_BeforeCollapse(
   Object* sender,
   TreeViewCancelEventArgs* e
);
[JScript]
private TreeViewName_BeforeCollapse(
   sender : Object,
   e : TreeViewCancelEventArgs
);

Parameters

sender
The source of the event.
e
A TreeViewCancelEventArgs that contains the event data.

See Also

TreeView Class | TreeView MembersTopic | System.WinForms Namespace