Commands and Events - Refactoring WPF Window Code for MVVM

preview_player
Показать описание
For me, MVVM makes a lot of sense with binding until I have to work with window controls.

Then it all falls apart.

Things seem to get weird when we want to have actions that we're hooking up to. How do we show a window? How do we close one? How do we know when the window itself is closing?

These are all questions that I'll answer in this video. Let's see how to make it happen with commands and events!

----
🔑 Membership & Subscriptions:

🧠 Courses:

🗣️ Social Media & Links:

❤️ Affiliations & Products/Services That I Love:
----

#dotnet #csharp #wpf #frontend
Рекомендации по теме
Комментарии
Автор

💡 Learn how to program in C#:
🧠Deep dive on C#:
🎁Zero to Hero C# Bundle:
💪 Skill up your refactoring:
✉ Subscribe to my free software engineering newsletter:

DevLeader
Автор

8:04 Whenever I use event hooks, I am always worried about memory leaks. Could you share how you use events safely? It would be best if you have some examples to demonstrate what leaks might occur and how to prove that a memory leak has occurred?

williamliu
welcome to shbcf.ru