Skip to main content

TreeList.CustomDrawRow Event

Enables you to paint rows.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

Declaration

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

Event Data

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

Remarks

Handle the CustomDrawRow event to paint tree list rows manually. Read the following topic for information and examples on custom draw events: Custom Drawing.

Note

  • Handle the NodeCellStyle event if you need to change the appearance settings like foreground and background color, text formatting and alignment.
  • Do not modify the TreeList’s layout or cell values when handling the CustomDraw events to avoid display issues.
See Also