VGridControlBase.IsCellDefaultValue(BaseRow, Int32) Method

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

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

public virtual bool IsCellDefaultValue(
    BaseRow row,
    int recordIndex
)
Public Overridable Function IsCellDefaultValue(
    row As BaseRow,
    recordIndex As Integer
) As Boolean

Parameters

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.

Returns

Type Description
Boolean

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

Remarks

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