TreeList.CustomDrawRow Event

Provides the ability to perform custom painting of rows.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[DXCategory("CustomDraw")]
public event CustomDrawRowEventHandler CustomDrawRow
<DXCategory("CustomDraw")>
Public Event CustomDrawRow As CustomDrawRowEventHandler

Event Data

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

Remarks

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.

NOTE

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