ICommand attribute in 8.0.0-preview4 #315
-
The ICommand attribute seems to have disappeared in 8.0.0-preview4. Has it been dropped or renamed or are we to use something different? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
It's still there, but it's been renamed to |
Beta Was this translation helpful? Give feedback.
-
I thought that might be the case but I couldn't get it to work. I'm using this in a .NET MAUI app view model. I use it like this but when I click the button, nothing happens. I put break points to test it and I never hit them.
My
And in my
Am I doing somethng wrong here? |
Beta Was this translation helpful? Give feedback.
-
Great! Thank you! |
Beta Was this translation helpful? Give feedback.
It's still there, but it's been renamed to
[RelayCommand]
in #288 🙂