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

CustomDrawRowValueCellEventArgs.CellValue Property

Gets the painted cell’s value.

Namespace: DevExpress.XtraVerticalGrid.Events

Assembly: DevExpress.XtraVerticalGrid.v24.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