Problem with ribbonButton , autoCompleteBox does not render correctly in wpf application.

Feb 19, 2014 at 5:58 AM
I have a autoCompleteBox in my wpf window ,ValidatesOnDataErrors=True for selectedItem property of autoCompleteBox control.
When I show my wpf window after click on ribbon Button and select a valid item from autoCompleteBox items show autoCompleteBox with red border !!!
like the picture below:
http://inspic.com/5D8E9EAB
but when I show window after click on button and select a valid item from autoCompleteBox items not show red border.
like the picture below:
http://inspic.com/DA74B7A9

I want if autoCompleteBox selectedItem is valid not show red border,but I do not know how to do it.
I attached sample source code:
http://www.uploadmb.com/dw.php?id=1392631727

I can not speak good English.
I will be grateful if anyone can help me.
Thanks.