一、简介
这里讨论一个region装载多个View,但同时只能显示一个View。
二、举例
工程截图:
工程文件:
1、Bootstrapper.cs、App.xaml、App.xaml.cs(和系列的一个相同)
2、MainWindow.xaml:
<Window x:Class="ActivationDeactivation.Views.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:prism="http://prismlibrary.com/"
Title="Shell" Height="350" Width="525">