jeudi 15 juin 2023

Using the Usercommand class for a button

Im trying to add functionality to a button in a WPF using the MVVM pattern in C# but im not quite sure on how to do it via using the Viewmodel class.

I tried adding functionality via the MainWindow from my WPF but that'd be faithful to the pattern. Furthermore i tried making a Usercommand class that implements ICommand but im not quite sure how it works.

Aucun commentaire:

Enregistrer un commentaire