I have a dynamically generated window with some textboxes that have validation rule. The textbox validation is working, I can see the new style I have added, but I linked the IsValid function to CanExecute on save button and the button is always enabled, even if textbox validation is error.I have a dynamically generated window with some