RowCellCustomDrawEventArgs.CellValue Property
Gets the painted value or display text (depending on the event).
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v22.2.dll
NuGet Package: DevExpress.Win.Grid
Declaration
Property Value
Type | Description |
---|---|
Object | An object representing the painted cell’s value. |
Remarks
The CellValue property returns different values for different events:
Event(s) | CellValue content |
---|---|
The field value. Note To get the field value converted to a string based on the column value display format, use the RowCellCustomDrawEventArgs.DisplayText property. | |
A string that specifies the field value converted to text using the column value display format. Note The column value display format can be specified with the GridColumn.DisplayFormat property. | |
A string value that specifies the field caption. |