TreeList.CustomDrawRow Event
In This Article
Enables you to paint rows.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
#Declaration
#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 Node
Cell event if you need to change the appearance settings like foreground and background color, text formatting and alignment.Style - Do not modify the Tree
List’s layout or cell values when handling the Custom
events to avoid display issues.Draw
See Also