I have an additional WPF window with some controls that the user must fill out correctly before clicking the Ok button.
I already implemented the IDataErrorInfo interface to check all the properties associated with the user interface controls.
Now I would like the IsEnabled property of the Ok button to be True only if all the controls are valid, otherwise it should be set to False strong>.
It should be easy, but I cannot find the right solution. Do you have any suggestions?
Thanks in advance!
Drake source
share