Back to Devexpress

CustomDrawNodeCellEventArgs.CellText Property

windowsforms-devexpress-dot-xtratreelist-dot-customdrawnodecelleventargs-4bc8b646.md

latest2.0 KB
Original Source

CustomDrawNodeCellEventArgs.CellText Property

Gets the painted cell’s display text.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public string CellText { get; set; }
vb
Public Property CellText As String

Property Value

TypeDescription
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

CellValue

Column

CustomColumnDisplayText

CustomDrawNodeCellEventArgs Class

CustomDrawNodeCellEventArgs Members

DevExpress.XtraTreeList Namespace