I am using databinding and IDataErrorInfo style validation in a form. This form includes a Label control for which I don’t want to show the red adornment when validation fails. Can anyone recommend a way to remove this adornment from Label controls?
I am using databinding and IDataErrorInfo style validation in a form. This form includes
Share
You can get rid of the default validation error template by assigning an empty
ControlTemplateto the attached propertyValidation.ErrorTemplate.Hope this helps.