VGridControlBase.IsCellDefaultValue(RowProperties, Int32) Method

Returns whether the specified cell's value is defaut.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

public virtual bool IsCellDefaultValue(
    RowProperties props,
    int recordIndex
)
Public Overridable Function IsCellDefaultValue(
    props As RowProperties,
    recordIndex As Integer
) As Boolean

Parameters

Name Type Description
props RowProperties

A RowProperties object representing the required row item.

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 default; 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