Skip to main content

CustomDrawRowValueCellEventArgs.CellValue Property

Gets the painted cell’s value.

Namespace: DevExpress.XtraVerticalGrid.Events

Assembly: DevExpress.XtraVerticalGrid.v23.2.dll

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

Declaration

public object CellValue { get; }

Property Value

Type Description
Object

An object representing the painted cell’s value.

Remarks

If you need to paint the cell’s value as it is displayed using default painting, use the CustomDrawRowValueCellEventArgs.CellText property to obtain the string to paint. In other cases (when the cell value cannot have a textual representation or you need to paint custom strings), use the CellValue property to determine the cell’s content.

Note that the CellValue property can also be used when implementing conditional painting. For instance, you may paint cells’ backgrounds depending on their values.

See Also