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.
The declaration of your event-handling method must have the same parameters as the TreeViewCancelEventHandler delegate declaration.
[To be supplied.]
Namespace: System.WinForms
Assembly: System.WinForms.dll