the MVVM pattern to build an application. I have a GridView that shows a
collection of ViewModels that are connected to entities. These entities have
validation implemented in them.
works, and the grid indicates cells that have validation errors by giving them
a red border.
possible for the entities to be edited in another place in my application while
they are displayed in the GridView. When this happens, these entities will be
reloaded in the GridView and validated again. This works and I have verified
that the validation errors are set as they should.
GridView doesn't show the validation error immediately. If a cell that is
visible has an error, the red border is not displayed. But if I scroll the
GridView so that the cell is no longer visible, and then scroll it back into
view, the red border appears!
need to tell the GridView to update the validation errors. How can I do that?