CreateCustomNodeEventHandler Delegate

Represents a method that will handle the TreeList.CreateCustomNode event.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

public delegate void CreateCustomNodeEventHandler(
    object sender,
    CreateCustomNodeEventArgs e
);
Public Delegate Sub CreateCustomNodeEventHandler(
    sender As Object,
    e As CreateCustomNodeEventArgs
)

Parameters

Name Type Description
sender Object

The event sender. Identifies the Tree List that raised the event.

e CreateCustomNodeEventArgs

A CreateCustomNodeEventArgs object that contains event data.

Remarks

When you create an CreateCustomNodeEventHandler delegate, you identify the method that will handle the 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 delegates, see Events and Delegates in MSDN.

See Also