Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ItemClickEventHandler Delegate, SftTree Class

Represents the method that will handle the ItemClick event.

Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public delegate void ItemClickEventHandler(
    object sender,
    ItemClickEventArgs e );
Public Delegate Sub ItemClickEventHandler(
    ByVal sender As Object,
    ByVal e As ItemClickEventArgs )

Parameters

sender

The source of the event.

e

An ItemClickEventArgs that contains the event data.

Comments

Represents the method that will handle the ItemClick event.

An ItemClickEventHandler delegate is created by an application to identify the method that will handle the ItemClick event.

To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about handling events with delegates, see Handling and Raising Events (.NET Documentation).

See Also SftTree Class | Classes | SftTree/NET 2.0