Paul Stovell's WPF Validation at Codeplex
Beth Massi on Displaying WPF Validation
and more specific to Caliburn Micro:
Lyquidity's Caliburn Micro Validation code
My App.xml looked a little like this:
Gist for app.xml but I was having a problem:
- My errors were definitely being checked, and validation was "working"
- Anything I added to Style.Triggers was changing the display of the element itself (e.g. the background colour)
- Nothing I added to Validation.ErrorTemplate was changing anything else
After much wailing and gnashing of teeth, I found the following article:
All I needed to do was to wrap my control code in an <AdornerDecorator> tag...