This project is read-only.

Field Validation Always Loads as Invalid

Apr 18, 2013 at 3:33 PM
When I add a field validation extension of NonEmpty to a TextBox and bind to a value (or even put some static text in the Text property), the box displays as invalid until I edit the text in the box.
As a test, I set the validation type to Any changed it to NonEmpty after a button press. This shows the proper validation result. Something similar can be seen in the designer if you have text in the text box - when it is first loaded it shows as invalid, but if you do something to cause a change and the designer view updates, it shows as valid.

Is there an issue with validation when the control is initially loaded, or am I doing something wrong?