I use devexpress wpf user control (SpinEdit). When I enter the wrong value ( greater than max value) the error is shown within control. At this moment I cant close the tab with this control and even whole wpf window. I cannot switch the tab. When the value within the range (no errors) I can do these actions.). W