CustomDrawNodeCellEventArgs.CellText Property
Gets the painted cell’s display text.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v19.2.dll
Declaration
Property Value
Type | Description |
---|---|
String | A string value representing the painted cell’s display text. |
Remarks
Use the CellText property to obtain the painted cell’s display value. The obtained text is a string representation of the painted cell’s value formatted according to the FormatInfo.FormatString property of the owning column. Use this string to perform cell value painting.
The painted cell’s value can be obtained via the CustomDrawNodeCellEventArgs.CellValue property. Note that you can modify cell values by handling the TreeList.GetNodeDisplayValue event.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the CellText property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.