Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

#Declaration

[Browsable(false)]
public virtual bool FocusedRecordModified { get; }

#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.).

See Also