ValidateRowEventArgs Class
Provides data for the ColumnView.ValidateRow event.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v18.1.dll
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ValidateRowEventArgs class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.