Skip to main content

ColumnView.FocusedRowModified Property

Gets a value indicating whether the focused row’s cell values have been modified since the row last received focus.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v22.2.dll

NuGet Package: DevExpress.Win.Grid


public virtual bool FocusedRowModified { get; }

Property Value

Type Description

true if the focused row’s data has been changed; otherwise, false.


When a row receives focus, the FocusedRowModified property is automatically set to false. As soon as a user changes a cell value, this property is set to true. Note that if the row is focused once again, the FocusedRowModified property value is set to false. This property value is true only if cell values were changed since the row last received focus.

When a modified row loses focus, the ColumnView.ValidateRow event is raised. This event enables you to check row values for validity and implement the desired response (display an error message, prohibit row focus moving until cell values are corrected, etc).


Detail pattern Views do not contain data and they are never displayed within XtraGrid. So, the FocusedRowModified member must not be invoked for these Views. The FocusedRowModified member can only be used with Views that display real data within the Grid Control. Use the following methods to access these Views with which an end user interacts at runtime.

See Also