Back to Devexpress

CustomDrawColumnHeaderEventHandler Delegate

windowsforms-devexpress-dot-xtratreelist-324e0b34.md

latest2.0 KB
Original Source

CustomDrawColumnHeaderEventHandler Delegate

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

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public delegate void CustomDrawColumnHeaderEventHandler(
    object sender,
    CustomDrawColumnHeaderEventArgs e
);
vb
Public Delegate Sub CustomDrawColumnHeaderEventHandler(
    sender As Object,
    e As CustomDrawColumnHeaderEventArgs
)

Parameters

NameTypeDescription
senderObject

The event sender (typically, the TreeList control).

| | e | CustomDrawColumnHeaderEventArgs |

A CustomDrawColumnHeaderEventArgs object that contains the event data.

|

Remarks

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

See Also

CustomDrawColumnHeader

DevExpress.XtraTreeList Namespace