✅ 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 😄
Kampa Plays
YouTube
C# WPF Tutorial #24 - Using RelayCommand in MVVM
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
2 Replies
$details
When you ask a question, make sure you include as much detail as possible. Such as code, the issue you are facing, what you expect the result to be, what .NET version you are using and what platform/environment (if any) are relevant to your question. Upload code here https://paste.mod.gg/ (see $code for more information on how to paste your code)