wpf-7358-controls-and-libraries-data-grid-data-editing-and-validation-input-validation.md
You can validate new data before saving it to a data source. Likewise, you can ensure that invalid data is not saved to a data source and related errors are clearly displayed.
Note
When you use a custom CellTemplate, input validation is supported only if the template contains a BaseEdit class descendant that is declared as demonstrated in the following topic: Custom In-Place Cell Editors.
The GridControl raises special events that allow you to validate modified cells and rows:
You can validate data based on interfaces and attributes:
The GridControl includes the following properties that allow you to check whether the grid has validation errors: