Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1285
Editors with ValidatesOnDataErrors=True loses border
posted

I have several XamTextEditor/XamComboEditor controls in a TabItemEx.  Their values are binded to an object, like this: SelectedItem="{Binding Path=Status, UpdateSourceTrigger=LostFocus, ValidatesOnDataErrors=True}"

The object implements IDataErrorInfo.  When the property has an error the control is surrounded by a thin red border.  When I activate another tab and then go back to the tab with control with the error the border is gone.  Even though object still has an error.

Any ideas?

Parents
No Data
Reply
  • 1285
    posted

    I found a work around, I surrounded the control with <AdornerDecorator> tag and the border stays.

Children
No Data