Frage

I am working on a WPF application with MVVM, but am not using any of MVVM frameworks like MVVM light etc. I have created user controls that host atleast 8 to 9 controls and this is displayed in a ItemControl in the main window. The main window has save and close buttons. I have implemented Custom DataValidation, and if any of the controls has data validation, it disables the Save button. This works as expected in all the other controls but not working for ItemControl. The user control has data validations and displaying validation errors but I am not able to disable the save button. Any help will be really appreciated. Please let me know if you need additional details.

Keine korrekte Lösung

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top