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!

TreeViewCancelEventHandler Delegate

Represents the method that will handle the OnBeforeCheck, OnBeforeCollapse, System.WinForms.TreeView.BeforeExpand, or System.WinForms.TreeView.BeforeSelect event of a TreeView.

[Visual Basic]
Public Delegate Sub TreeViewCancelEventHandler( _
   ByVal sender As Object, _
   ByVal e As TreeViewCancelEventArgs _
)
[C#]
public delegate void TreeViewCancelEventHandler(
   object sender,
   TreeViewCancelEventArgs e
);
[C++]
public __gc __delegate void TreeViewCancelEventHandler(
   Object* sender,
   TreeViewCancelEventArgs* e
);

[JScript] In JScript, you can use the delegates in the NGWS frameworks, but you cannot define your own.

Parameters [Visual Basic, C#, C++]

The declaration of your event-handling method must have the same parameters as the TreeViewCancelEventHandler delegate declaration.

Remarks

[To be supplied.]

Requirements

Namespace: System.WinForms

Assembly: System.WinForms.dll

See Also

System.WinForms Namespace