Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2150
Infragistics.Controls.Editors and Validation.HasErrors
posted

Is there an easy way to have XamMaskedInput validate and set the Validation.HasErrors and related attached properties like other WPF controls?

 

I realize that the mask is supposed to prevent bad data in the first place. But if the user initiates a save operation and the value is still focused and is still invalid (has InvalidValueErrorInfo) then ideally we would be able to programmatically detect the invalid data with program logic that is generic (ie. Validation.HasErrors).   Its kind of a pain to create special-purpose code for ValueInput-derived controls.