• Post category:StudyBullet-14
  • Reading time:3 mins read


Learn about switching from one view to another with WPF and MVVM.

What you will learn

Learn how to create page navigation in WPF with MVVM

Change views with ContentControl styling

Learn basics about CommunityToolkit from Microsoft

Introduction to NET 6 WPF Xaml

Description

In this simple course, you will learn about setting up Page navigation in WPF with MVVM.

  • Community Tool kit from Microsoft will be used for supporting the ViewModel setup
  • Simple ContentControl with style triggers will be used for switching the views.
  • Get introduced to basic Xaml view setup
  • Get introduced to .NET 6
  • Four basic sample pages are created and used as an example in the navigation
  • Also learn how to quickly setup a Top Navigation bar and arrange them with in a Stackpanel UI element.

The full course is built on .NET 6 using Visual Studio 2022 as the Integrated Development Environment (IDE). Also, you will learn how to install external third party packages from Nuget Package source from within the Visual Studio.


Get Instant Notification of New Courses on our Telegram channel.


Course will be simple enough to understand even for the beginners. If you are a professional with years of experience or a novice WPF developer with intermediate knowledge, this course will still be helpful to you in understanding new way of implementing page navigation in your projects and switching the views easily.

By the end of this course, you will be able to setup page navigation in WPF MVVM application of any size and scale. Source codes are provided for the full project which will be

English
language

Content

Build a Page Navigation Application from Scratch

Introduction
Application Demo
Setup the view
Create a simple Navigation Bar
Setup the ViewModel
Setup ContentControl Style Triggers
Recap
Bind DataContext to Child controls