NotifyCanExecuteChangedFor with Custom RelayCommandGenerator #996
lmatheson-delta
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good Morning,
I've written a custom RelayCommandGenerator to create a relay command class with features that are closer to what I need, this generator works fine but it does not interact well with NotifyCanExecuteChangedForAttribute. Adding this attribute and pointing it at the custom generated relay command throws a MVVMTK0016 exception that 'GeneratedCommand' has no match (even though it does). Is it possible to create a way to forcefully add notify to the setter even if the MVVM toolkit can't identify the relay command since it's receiving the required command name string anyways?
Beta Was this translation helpful? Give feedback.
All reactions