Welcome to the WinUI feedback portal. We’re happy you’re here! If you have feedback on how to improve the WinUI, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Unlike WPF, the data grid in WinUI does not have the InEdit DataValidationMode. I assume this is the cause of my problem: when I want to use Data Annotations to validate an entity cell, I set the value of DataValidationMode to InView (it's the only option besides none). But when I have invalid cells (for example a blank cell that is a required field based on annotation), the CurrentCellValidated event is still triggered even though the cell is not valid.
Looking at WPF it seems that "InEdit" claims to do what I want: not just display error icons in cells, but block committing the change and calling "validated" until the error is corrected.
Otherwise the CurrentCellValidated in WinUI data grid is useless with just data annotations validation because it is triggering exactly when it should not be: on invalid data.