TreeList.CustomDrawRow Event

Provides the ability to perform custom painting of rows.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v21.1.dll


public event CustomDrawRowEventHandler CustomDrawRow

Event Data

The CustomDrawRow event's data class is DevExpress.XtraTreeList.CustomDrawRowEventArgs.


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

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


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

See Also