Skip to main content

TreeList.CustomDrawBandHeader Event

Provides the capability to custom paint band headers.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

Declaration

[DXCategory("CustomDraw")]
public event CustomDrawBandHeaderEventHandler CustomDrawBandHeader

Event Data

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

Remarks

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.

Note

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