TreeList.CustomDrawBandHeader Event

Provides the capability to custom paint band headers.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[DXCategory("CustomDraw")]
public event CustomDrawBandHeaderEventHandler CustomDrawBandHeader
<DXCategory("CustomDraw")>
Public Event CustomDrawBandHeader As CustomDrawBandHeaderEventHandler

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