Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CustomDrawNodeCellEventArgs.CellText Property

Gets the painted cell’s display text.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

#Declaration

public string CellText { get; set; }

#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.

See Also