ValidateRowEventArgs Class
Provides data for the ColumnView.ValidateRow event.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v24.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
Declaration
Remarks
The ColumnView.ValidateRow event fires when attempting to move row focus. It enables you to specify whether the currently focused row data is valid and, thus, whether focus movement is allowed.
To determine whether the currently focused row data is valid, you will need to access this row’s cell values. Thus, the ValidateRowEventArgs class enables you to identify the processed row using the inherited RowEventArgs.RowHandle property. The class introduces the ValidateRowEventArgs.Valid and ValidateRowEventArgs.ErrorText properties specifying whether row data is valid and the text is displayed within an error message box.