|
I've seen some great info about how to validate controls in WPF, but they all require that the control is bound. The validation infrastructure seems to be part of databinding, namely the ValidationRules of the Binding class and the ErrorTemplate of Validation (which works with Binding's ValidationRules).
I have been wondering, however, if WPF provides validation support for controls which are not bound to a data source. Is this available? If so, please point me to an article or page in the SDK which demostrates it. If not, why not? Is it expected that controls will always be bound?
Thanks for any information.
Josh Smith - http://www.infusionblogs.com/blogs/jsmith/default.aspx |