DataGrid is valid or not

Oct 20, 2009 at 1:29 PM



I have a DataGrid with a RowValidationRule. The user can edit the data within the DataGrid and can save it. I want to allow the user to save the data only if the DataGrid is Valid (all rows are valid).

How can i check whether the DataGrid is valid or not?