Skip to main content

CustomDrawTreeButtonEventHandler Delegate

Represents a method that will handle the VGridControlBase.CustomDrawTreeButton event.

Namespace: DevExpress.XtraVerticalGrid.Events

Assembly: DevExpress.XtraVerticalGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

public delegate void CustomDrawTreeButtonEventHandler(
    object sender,
    CustomDrawTreeButtonEventArgs e
);

Parameters

Name Type Description
sender Object

The event sender (the VGridControl).

e CustomDrawTreeButtonEventArgs

A CustomDrawTreeButtonEventArgs object that contains event data.

Remarks

When you create a CustomDrawTreeButtonEventHandler 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