Skip to main content

VGridControlBase.IsCellDefaultValue(BaseRow, Int32) Method

Returns whether the specified cell’s value is the default value.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v22.2.dll

NuGet Package: DevExpress.Win.VerticalGrid


public virtual bool IsCellDefaultValue(
    BaseRow row,
    int recordIndex


Name Type Description
row BaseRow

A BaseRow object which identifies the row.

recordIndex Int32

An integer which identifies the record which contains the required cell.


Type Description

true if the specified cell’s value is the default value; otherwise, false.


The IsCellDefaultValue method can be called for the PropertyGridControl to determine whether a specific cell’s value is default or has been changed. The PropertyGridControl automatically calls this method to determine whether cells contain modified values, and if so, the corresponding cells are painted bold. The recordIndex parameter is ignored when calling the IsCellDefaultValue method for the PropertyGridControl.

For the VGridControl control, this method always returns true.

See Also