VGridControlBase.FocusedRecordModified Property
Gets whether the focused record’s cell values have been modified since the record last received focus.
Namespace: DevExpress.XtraVerticalGrid
Assembly: DevExpress.XtraVerticalGrid.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true if the focused record’s data has been changed; otherwise, false. |
Remarks
When a record receives focus, the FocusedRecordModified property is automatically set to false. As soon as an end-user changes a cell’s value, the FocusedRecordModified property’s value is set to true.
When the modified record loses focus, the VGridControlBase.ValidateRecord event is raised. This event enables you to check the record’s values for validity and implement the desired response (display an error message, prohibit moving record focus until cell values are corrected, etc.).