VGridControlBase.IsCellDefaultValue(RowProperties, Int32) Method
Returns whether the specified cell’s value is defaut.
Namespace: DevExpress.XtraVerticalGrid
Assembly: DevExpress.XtraVerticalGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid
#Declaration
public virtual bool IsCellDefaultValue(
RowProperties props,
int recordIndex
)
#Parameters
Name | Type | Description |
---|---|---|
props | Row |
A Row |
record |
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.