In WPF how do I set the ValidatesOnDataErrors property for the binding on a control (e.g. a TextBox)? Is this possible?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s just a property of the
Bindingclass. You can construct bindings in code, set the property and useSetBindingon theTextBox.You can use
GetBindingto get existing bindings, but you cannot modify them once they are in use…