I implemented several classes that extend ValidationRule and wrote ControlTemplates and Styles to be used in a form. They are working ok, but now I need to know in runtime if there are TextBoxes that don't pass the corresponding validation, so - for instance - a given button is disabled unless they do.
I'd like to avoid the iteration on the entire form looking for TextBoxes that don't comply with the corresponding rule (unless I could check it's rule in runtime).
Thanks in advance.