ValidateFields and Red Border

Topics: Questions
Jan 25, 2013 at 9:04 AM

Hello.

In my viewmodel I have override the ValidateFields method and add an error for an Property.

So how is it possible to mark the binded Control for this proptery? For example with a red Border.

Coordinator
Jan 25, 2013 at 9:19 AM

Please see the validation examples.

Something like: "{Binding Path=MyProperty, NotifyOnValidationErrors=true, ValidatesOnErrors=true}"