windowsforms-devexpress-dot-xtratreelist-dot-treelist-bc27a7d1.md
Provides the capability to custom paint band headers.
Namespace : DevExpress.XtraTreeList
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
[DXCategory("CustomDraw")]
public event CustomDrawBandHeaderEventHandler CustomDrawBandHeader
<DXCategory("CustomDraw")>
Public Event CustomDrawBandHeader As CustomDrawBandHeaderEventHandler
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.
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