Skip to main content
A newer version of this page is available. .

TreeList.CustomDrawRow Event

Provides the ability to perform custom painting of rows.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v18.2.dll

Declaration

[DXCategory("CustomDraw")]
public event CustomDrawRowEventHandler CustomDrawRow

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