Skip to content

NotifyCanExecuteChangedFor generated code raises exception #379

Answered by Sergio0694
avsteele asked this question in Q&A
Discussion options

You must be logged in to vote

Raising the event itself doesn't care about the thread, what matters is if there's anything on the UI that's subscribed to that event and doing something. I'd assume that is crashing for you because you have a button or something bound to that command, but not the the other property. If you tried to also bind something to that property, you should see the same crash as well. Either way this is not an issue with the MVVM Toolkit itself 🙂

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@avsteele
Comment options

Answer selected by Sergio0694
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants