Episode

Use the MVVM Design Pattern (Part 14 of 18) | Building Apps with XAML and .NET MAUI

with Robert Green, Leslie Richardson, Paul Sheriff

Welcome to the Building Apps with XAML and .NET MAUI series. Whether you are new to XAML or simply new to the XAML used in .NET MAUI, this series will show you how to start building a .NET MAUI app. In this episode, Paul introduces the MVVM design pattern and shows how to use it in the app.

Chapters

  • 00:00 - Introduction
  • 00:50 - Overview of MVVM
  • 06:45 - Creating a ViewModel base class
  • 07:55 - Creating a ViewModel
  • 09:20 - Retrieving data in a ViewModel
  • 10:00 - Referencing a ViewModel in XAML
  • 11:30 - Binding page elements to ViewModel properties
  • 13:30 - Calling ViewModel methods in code
  • 15:10 - Review what we saw
  • 16:50 - Wrap-up

Developer
.NET
.NET MAUI