Back to Browse

Commands and Events - Refactoring WPF Window Code for MVVM

1.3K views
Jul 22, 2024
16:23

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: - 📨 Weekly Newsletter: https://weekly.devleader.ca - 🏘️ Private Discord Community: https://discord.com/invite/TVY79BZ3Wy - 📽️ YouTube Membership: https://www.youtube.com/@DevLeader/join 🧠 Courses: - All Courses: https://www.devleader.ca/courses - Getting Started with C#: https://dometrain.com/course/getting-started-csharp?affcode=1115529_nl-teyzg - Deep dive C#: https://dometrain.com/course/deep-dive-csharp?affcode=1115529_nl-teyzg - C# Zero to Hero BUNDLE: https://dometrain.com/bundle/from-zero-to-hero-csharp/?affcode=1115529_nl-teyzg - Refactoring For C# Devs: https://dometrain.com/course/from-zero-to-hero-refactoring-for-csharp-developers?affcode=1115529_nl-teyzg - [FREE] Intro to Software Development: https://www.youtube.com/playlist?list=PLzATctVhnsggb3lj53T8fJSK6LJQFUyKS 🗣️ Social Media & Links: - All My Links: https://linktr.ee/devleader - Blog: https://www.devleader.ca/ - TikTok: https://www.tiktok.com/@devleader - LinkedIn: https://www.linkedin.com/in/nickcosentino - Threads: https://threads.net/@dev.leader - Twitter: https://twitter.com/DevLeaderCa - Facebook: https://www.facebook.com/DevLeaderCa - Instagram: https://www.instagram.com/dev.leader - GitHub: https://github.com/ncosentino/ - Twitch: https://twitch.tv/devleaderca - YouTube: https://youtube.com/@DevLeader?sub_confirmation=1 ❤️ Affiliations & Products/Services That I Love: - VPS hosting from RackNerd: https://my.racknerd.com/aff.php?aff=9013 - VPS hosting from Contabo: https://www.jdoqocy.com/click-101028632-12454592 - My newsletter platform ConverKit: https://convertkit.com/?lmref=c5X7KQ - My newsletter referral system SparkLoop: https://dash.sparkloop.app/signup?aff=9fe76c8b - My AI shorts helper Opus Clip: https://opus.pro/?via=2f9e97 - I try to help answer questions at Quora: https://www.quora.com/quoraplus?ch=10&invite_code=e7QLQ5pQgfBtLTOV&share=2ef9cd85 - My favorite computer parts store Newegg: https://click.linksynergy.com/fs-bin/click?id=uxaXetuYo*0&offerid=1207190.3&bids=1207190.3&type=3&subid=0 - My favorite supplement store Bulk Supplements: https://glnk.io/63qn/devleader ---- #dotnet #csharp #wpf #frontend

Download

0 formats

No download links available.

Commands and Events - Refactoring WPF Window Code for MVVM | NatokHD