I have a textbox:
<TextBox Text="{Binding SomeInt}" />
SomeInt is of type int
and therefore when my view shows, if binded correctly it displays the value of SomeInt in my case 0.
If I enter "abc" on the textbox then the textbox shows a red border outside of it which is great. How can I detect that the textbox has a red border in order to prevent the user from submitting the form?.