Back to Browse

STOP Modifying WPF Controls Directly! - View Model Refactoring For MVVM

874 views
Jul 15, 2024
12:17

Rule number 1 about WPF club: We don't talk about WPF club. Wait! That's not right -- Rule number 1 is about directly manipulating our views! In WPF, the predominant way of designing user interfaces is leveraging MVVM. We use binding to get our controls (the views) hooked up to the state of the view models. Through data-binding, when our view models update, the views are triggered to get updates for the new state! This works the other way too, of course. In this video tutorial, we'll refactor a splash screen with a progress bar to support a view model. We'll avoid updating the controls on the view directly and leverage data-binding! ---- 🔑 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.

STOP Modifying WPF Controls Directly! - View Model Refactoring For MVVM | NatokHD