This Package | All Packages

TreeViewCancelEventHandler Delegate

Identifies the method that will handle the beforeCollapse, the beforeExpand, and the beforeSelect events of a TreeView control.

package com.ms.wfc.ui

public multicast delegate
void TreeViewCancelEventHandler( Object
sender, TreeViewCancelEvent e );

Remarks

The syntax of the TreeViewCancelEventHandler delegate specifies the signature for the event handler, where sender is the source of the event and e is a TreeViewCancelEvent object that provides the event data.

When you create a TreeViewCancelEventHandler delegate, you specify the method that will handle the event. Once the delegate is assigned to the event, the handler method is automatically invoked whenever the event is triggered.

For more information about delegates, see Handling Events in WFC.