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
1080
Simple Validation
posted

In my dialogs I should do some simple validation. Most of the time it is only necessary to check whether an editor has a value (for mandatory fields) when the user presses the Ok-Button.

I've seen, that there is a kind of validation support built into the editors, but I don't know  how  I could use this. I played around with the properties of ValueContraint (e.g Nullable) but could not figure out, how the validation works.(I don't see anything if values are missing  - no error messages, nothing)

I'm quite new to WPF and never worked with WPF-validation.  So I appreciate every reply leading me in the right direction.

 

Markus

Parents Reply Children
No Data