I am trying to set the Validation Message manually without the common practice where you throw an exception.
I know I can manually change the state of the control as follows:
VisualStateManager.GoToState(this.TextBox, "InvalidFocused", true);
Now I just want to set the error message manually… Anyone know how?
I know this is a HACK but it’s something I need at this point.
Any ideas???
Here is a solution….found this post.
// Helper Class