Learn how to create a navigation bar for a WPF application to simplify the user's navigation experience. I do my best to make the navigation bar UI look decent, and show off how to show/hide navigation bar items based on application state (ex: is the user logged in?). I also begin moving more application setup logic into the App.xaml.cs as we prepare for dependency injection in the future.
Navigation is an essential piece of an application. In this series, I demonstrate how to implement various navigation scenarios in a WPF MVVM application.
TIMESTAMPS:
0:00 - Introduction
0:20 - Creating the NavigationBarViewModel
2:27 - Using the NavigationBarViewModel
3:42 - Setting Up the NavigationBarViewModel in App.xaml.cs
7:48 - Creating the NavigationBar UI Component
9:26 - Using the Navigation Bar UI Component
11:08 - Updating ViewModel Constructors
13:04 - Cleaning Up the Navigation Bar UI
16:28 - Hiding NavigationBar Items
18:16 - Summary and Conclusion
SOURCE CODE: https://github.com/SingletonSean/wpf-...
OTHER LINKS:
Become a Member: / @singletonsean
Donations: https://www.paypal.com/biz/fund?id=UB...