C#C
C#2y ago
FakeLix

✅ WPF Help with ICommand

I followed the Tutorial "https://www.youtube.com/watch?v=s7pt3EkDyq4&t=304s" And in the part where he implments ICommand 1:25, it doesnt work for me, I wants to implement a third function. I put it into a screenshot.

Thanks for the help 😄
image.png
YouTubeKampa Plays
Continuing to implement the MVVM pattern, adding RelayCommands so that we an bind our button commands to actions in our view models!

Happy Coding!

Chapters:

0:00 Setup
0:37 Button Command Binding
1:00 Implementing ICommand (RelayCommand)
4:25 Using RelayCommand
6:00 Using Predicates (CanExecute)
8:40 Recap & Tips
9:20 Next Up
Was this page helpful?