Skip to main content
A newer version of this page is available. .

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.v18.2.dll

Declaration

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

Property Value

Type Description
Boolean

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

Remarks

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

Note

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 real Views that are displayed within the Grid Control. The real Views with which an end-user interacts at runtime can be accessed using the following methods.

See Also