Prism 7 Problems & Solutions: Mastering TabControl
This course will focus on using the TabControl as a Prism region. We will identify and solve common issues such as closing tab items, removing items from the region, child navigation, and scoped regions with navigation.
What you'll learn
This course will focus on using the TabControl as a Prism region. We will identify and solve common issues such as data binding to the TabItem header as well as how to control how TabItems are created. We will see how to extend the functionality of a TabItem without inheritance or custom controls to support being closed from a UI button located in the TabItem header. This course will also show advanced navigation scenarios when using the TabControl as a region by extending Prism to add support for scoped regions in the navigation framework.
Table of contents
- Introduction 1m
- Demo - The Starting Point 3m
- Problem - Injecting Views 1m
- Solution - Injecting Views 3m
- Three Options for Injecting Views 4m
- Demo - Injecting Views 8m
- Injecting Views - What Approach to Take? 1m
- Problem - Header Text 1m
- Solution - A Simple Style 1m
- Demo - Header Text 2m
- Problem - Controlling Tab Instances 2m
- Solution - INavigationAware 2m
- Demo - Controlling Tab Instances 5m
- A Little Tip 4m
- What's Next? 1m
- Introduction 2m
- Problem - Adding a Close Button 1m
- Solution - Adding a Close Button 1m
- Demo - Adding a Close Button 3m
- Problem - Removing TabItems 1m
- Solution - Removing TabItems 1m
- Demo - Removing TabItems 7m
- Problem - Removing Views from Regions 1m
- Solution - Removing Views from Regions 0m
- Demo - Removing Views from Regions 3m
- Problem - Preventing Close 1m
- Solution - Preventing Close 1m
- Demo - Preventing Close 7m
- Problem - Knowing When a TabItem Closed 1m
- Solution - Knowing When a TabItem Closed 1m
- Demo - Knowing when a TabItem Closed 5m
- What's Next? 2m
- Introduction 3m
- Problem - Avoiding Exceptions 5m
- A Solution with a Problem 2m
- What's the Problem with the Solution? 3m
- Solution - Custom RegionNavigationContentLoader 1m
- Demo - Creating a Custom RegionNavigationContentLoader 11m
- Problem - Navigating within the Proper TabItem 2m
- Solution - Region Behaviors 2m
- Demo - Create a Custom RegionBehavior 7m
- What's Next? 2m