On MSDN Magazine it has a good article about MVVM and they are binding the validation error in the Xaml to Validation.ErrorTemplate="{x:Null}". I do not get it why and how they can display from the IDataErrorInfo the error? Anyone can light me on how to get the error message displayed to the screen with the MVVM approach?
On MSDN Magazine it has a good article about MVVM and they are binding
Share
I was looking at the same sample just a few minutes ago. Your guess is righ. In this code sample they removed default ErrorTemplate from TextBox control so it would’t show red rectangle. Instead of using ErrorTemplate they create ContentProvider with content bound to validation error of specific text box.