TreeList.CustomDrawBandHeader Event

Provides the capability to custom paint band headers.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v21.1.dll


public event CustomDrawBandHeaderEventHandler CustomDrawBandHeader

Event Data

The CustomDrawBandHeader event's data class is DevExpress.XtraTreeList.CustomDrawBandHeaderEventArgs.


The CustomDrawBandHeader event fires when a band header is about to be painted. The event’s parameters provide you all the information needed to paint a band header.

See the Custom Drawing topic for information on using custom draw events.


The CustomDraw events are designed to modify elements appearances only. Do not modify the control’s layout or cell values when handling these events, since this can lead to unexpected misbehaviors.

See Also