When switching between tabs my validation errors are disappearing.
How do I 开发者_如何学编程stop this from happening?
Found the answer here
http://karlshifflett.wordpress.com/2008/02/19/wpf-validation-errors-disappear-inside-tabcontrol-when-switching-tabitems/
Turns out that you need to wrap your controls in a AdornerDecorator
<AdornerDecorator>
Your controls go here
</AdornerDecorator>
It is a bug in WPF
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=295933&wa=wsignin1.0
精彩评论