|
什么是Prism:
1.WPF <ContentControl x:Name="Content" />Prism是一个用于构建模块化、可扩展和可重用的WPF应用程序的框架。它基于MVVM模式,提供了一种简单且灵活的方式来管理复杂的WPF应用程序。
2.Prism框架提供了一些核心概念,包括模块化开发、依赖注入、命令模式、导航和事件聚合等。它还提供了一些实用工具和类来简化开发过程,例如模块加载器、事件聚合器、导航器等。
3.Prism框架的主要目标是帮助开发人员构建易于维护和扩展的WPF应用程序,同时提高代码的可重用性和可测试性。
Github:https://github.com/PrismLibrary/Prism
Prism包括哪些功能模块:
<ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />1.Region(区域管理)
<ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />2.Module(模块)
<ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />3.View <ContentControl x:Name="Content" />Injection(视图注入)
<ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />4.ViewModelLocationProvider(视图模型定位)
<ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />5.Command(绑定相关)
<ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />6.Event <ContentControl x:Name="Content" />Aggregator <ContentControl x:Name="Content" />(事件聚合器)
<ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />7.Navigation(导航)
<ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />8.Dialog(对话框)
功能↓ <ContentControl x:Name="Content" />/ <ContentControl x:Name="Content" />→框架名 | Prism | Mvvmlight | Micorosoft.Toolkit.Mvvm | 通知 | BindableBase | ViewModelBase | ObservableObject | 命令 | DelegateCommand | RelayCommand | Async/RelayCommand | 聚合器 | IEventAggregator | IMessenger | IMessenger | 模块化 | √ | × | × | 容器 | √ | × | × | 依赖注入 | √ | × | × | 导航 | √ | × | × | 对话 | √ | × | × |
创建Prism应用程序:
第一步:创建WPF应用程序(我这里用NET6.0)
第二步:引用Prism.Unity框架
第三部:修改App.xaml文件View和ViewModel实现绑定
添加Views和ViewModels文件夹,在Views文件夹里添加MainWindow.xaml和在ViewModels添加MainWindowViewModel.cs - <Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window>
复制代码 或者在App.cs中进行注册- <ContentControl x:Name="Content" />protected <ContentControl x:Name="Content" />override <ContentControl x:Name="Content" />void <ContentControl x:Name="Content" />RegisterTypes(IContainerRegistry <ContentControl x:Name="Content" />containerRegistry)<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window>{<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />containerRegistry.RegisterForNavigation();<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window>}
复制代码 亦或者在MainWindow.xaml.cs- this.DataContext <ContentControl x:Name="Content" />= <ContentControl x:Name="Content" />new <ContentControl x:Name="Content" />MainWindowViewModel();
复制代码
View和ViewModel数据绑定
区域(Region)
页面显示的区域划分称N个Region, <ContentControl x:Name="Content" />此时, <ContentControl x:Name="Content" />每个Region将变成了动态分配区域。它将负责承担我们的UI组件或者控件。
区域定义
添加一个用户控件页面Content.xaml
在MainWindow页面添加- <ContentControl x:Name="Content" />
复制代码- <Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window><Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window><Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window><Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" />
复制代码
在MainWindow.xaml.cs- public <ContentControl x:Name="Content" />partial <ContentControl x:Name="Content" />class <ContentControl x:Name="Content" />MainWindow <ContentControl x:Name="Content" />: <ContentControl x:Name="Content" />Window <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />{<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window>public <ContentControl x:Name="Content" />MainWindow([b]IRegionManager <ContentControl x:Name="Content" />regionManager[/b])<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window>{<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />InitializeComponent();<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />//为界面元素注册区域<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />[b]RegionManager.SetRegionName(Content, <ContentControl x:Name="Content" />"ContentRegion");<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />[/b]//为指定区域指定页面<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />[b]regionManager.RegisterViewWithRegion("ContentRegion", <ContentControl x:Name="Content" />typeof[/b][b](Content));[/b]<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window>}}
复制代码 在Prism中, <ContentControl x:Name="Content" />控件都支持注册Region, <ContentControl x:Name="Content" />只是有些控件需要自己实现一个RegionAdapters(区域适配器),Prism提供了许多内置得RegionAdapter。
如:ContentControlRegionAdapter <ContentControl x:Name="Content" />,ItemsControlRegionAdapter <ContentControl x:Name="Content" />,SelectorRegionAdapter等。
模块(Module)
对于微服务的思想来说,对于特定功能服务都可以独立存在,在WPF中那么意味着, <ContentControl x:Name="Content" />每个独立的功能我们都可以称之为模块。
模块添加操作流程:
1.添加一个新的项目,WPF用户控件项目。
2.添加引用,Prism.Unity框架。
3.添加一个类。并继承于IModule,实现OnInitialized和RegisterTypes方法
4.添加两个文件夹Views和ViewModels
5.项目-->属性-->生成-->事件--生成后事件- xcopy <ContentControl x:Name="Content" />"$(ProjectDir)\bin\Debug\net6.0-windows\$(ProjectName).dll" <ContentControl x:Name="Content" />"$(SolutionDir)\WPFClient\bin\Debug\net6.0-windows\Modules" <ContentControl x:Name="Content" />/Y <ContentControl x:Name="Content" />/Sxcopy <ContentControl x:Name="Content" />"$(ProjectDir)\bin\Release\net6.0-windows\$(ProjectName).dll" <ContentControl x:Name="Content" />"$(SolutionDir)\WPFClient\bin\Release\net6.0-windows\Modules" <ContentControl x:Name="Content" />/Y <ContentControl x:Name="Content" />/S
复制代码 这个是生成该项目后,dll之间复制到主项目的bin目录下去。
6.在主项目WPFClient的bin目录下添加一个文件夹Modules。
7.在主项目的APP类文件里重写CreateModuleCatalog方法- protected <ContentControl x:Name="Content" />override <ContentControl x:Name="Content" />IModuleCatalog <ContentControl x:Name="Content" />CreateModuleCatalog()<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window>{<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />return <ContentControl x:Name="Content" />new <ContentControl x:Name="Content" />DirectoryModuleCatalog()<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />{<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window><Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window>ModulePath <ContentControl x:Name="Content" />= <ContentControl x:Name="Content" />AppContext.BaseDirectory <ContentControl x:Name="Content" />+ <ContentControl x:Name="Content" />$"\\Modules" <ContentControl x:Name="Content" />//获取WPFModule.dll的目录<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />};<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window>}
复制代码 还有一种是通过引用项目的方法来添加
8.生成解决方法。
IRegionManager
怎样把子模块的页面呈现到主项目的ContentControl <ContentControl x:Name="Content" />区域中呢?
案列:或者- _regionManager.RegisterViewWithRegion(ContentControlName.MainmoduleImagemoduleReginName, <ContentControl x:Name="Content" />typeof(ImageView));
复制代码
聚合器IEventAggregator- //创建事件public <ContentControl x:Name="Content" />class <ContentControl x:Name="Content" />SavedEvent <ContentControl x:Name="Content" />: <ContentControl x:Name="Content" />PubSubEvent <ContentControl x:Name="Content" />{ <ContentControl x:Name="Content" />}//发布IEventAggregator.GetEvent().Publish("some <ContentControl x:Name="Content" />value");//订阅IEventAggregator.GetEvent().Subscribe(.Subscribe(message=><Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />{<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window><Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window>//do <ContentControl x:Name="Content" />something<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />});
复制代码
Navigation导航功能
案例:- IRegionManager <ContentControl x:Name="Content" />regionManager <ContentControl x:Name="Content" />= <ContentControl x:Name="Content" />…;//构造函数中获取regionManager.RequestNavigate("RegionName", <ContentControl x:Name="Content" />"ViewName");//跳转页面
复制代码 带参数的跳转- var <ContentControl x:Name="Content" />param <ContentControl x:Name="Content" />= <ContentControl x:Name="Content" />new <ContentControl x:Name="Content" />NavigationParameters();param.Add("Parameter", <ContentControl x:Name="Content" />param);_regionManger.RequestNavigate("RegionName", <ContentControl x:Name="Content" />"ViewName", <ContentControl x:Name="Content" />param);//类似URL地址传递参数_regionManger.RequestNavigate("RegionName", <ContentControl x:Name="Content" />"ViewName?id=1&Name=xiaoming");
复制代码 INavigationAware
VM类继承该接口要实现3个方法OnNavigatedTo: <ContentControl x:Name="Content" />导航完成前, <ContentControl x:Name="Content" />此处可以传递过来的参数以及是否允许导航等动作的控制。
IsNavigationTarget: <ContentControl x:Name="Content" />调用以确定此实例是否可以处理导航请求。否则新建实例
OnNavigatedFrom: <ContentControl x:Name="Content" />当导航离开当前页时, <ContentControl x:Name="Content" />类似打开A, <ContentControl x:Name="Content" />再打开B时, <ContentControl x:Name="Content" />该方法被触发。
接受跳转过来带的参数- public <ContentControl x:Name="Content" />void <ContentControl x:Name="Content" />OnNavigatedTo(NavigationContext <ContentControl x:Name="Content" />navigationContext)<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window>{<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />var <ContentControl x:Name="Content" />id <ContentControl x:Name="Content" />= <ContentControl x:Name="Content" />navigationContext.Parameters.GetValue("id");<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />var <ContentControl x:Name="Content" />name <ContentControl x:Name="Content" />= <ContentControl x:Name="Content" />navigationContext.Parameters["Name"].ToString();<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window>}
复制代码
INavigationAware
该接口继承于INavigationAware, <ContentControl x:Name="Content" />所以, <ContentControl x:Name="Content" />它多了一个功能: <ContentControl x:Name="Content" />允许用户针对导航请求进行拦截。- //多了一个回调函数, <ContentControl x:Name="Content" />该值觉得是否拦截该导航请求 <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />void <ContentControl x:Name="Content" />ConfirmNavigationRequest(NavigationContext <ContentControl x:Name="Content" />navigationContext, <ContentControl x:Name="Content" />Action <ContentControl x:Name="Content" />continuationCallback);
复制代码 当打开新的导航时, <ContentControl x:Name="Content" />或许有些情况下你需要经过用户进行确认, <ContentControl x:Name="Content" />这个时候, <ContentControl x:Name="Content" />IConfirmNavigationRequest接口可以满足需求, <ContentControl x:Name="Content" />如下:- public <ContentControl x:Name="Content" />void <ContentControl x:Name="Content" />ConfirmNavigationRequest(NavigationContext <ContentControl x:Name="Content" />navigationContext, <ContentControl x:Name="Content" />Action <ContentControl x:Name="Content" />continuationCallback)<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window>{<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />bool <ContentControl x:Name="Content" />result <ContentControl x:Name="Content" />= <ContentControl x:Name="Content" />true;<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />if <ContentControl x:Name="Content" />(MessageBox.Show("确认导航?", <ContentControl x:Name="Content" />"温馨提示", <ContentControl x:Name="Content" />MessageBoxButton.YesNo) <ContentControl x:Name="Content" />== <ContentControl x:Name="Content" />MessageBoxResult.No)<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window><Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window>result <ContentControl x:Name="Content" />= <ContentControl x:Name="Content" />false;<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />//通过回调当前返回的确认结果,决定是否启动该导航<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />continuationCallback(result);<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window>}
复制代码 Navigation <ContentControl x:Name="Content" />Journal
导航日志, <ContentControl x:Name="Content" />其实就是对导航系统的一个管理功能, <ContentControl x:Name="Content" />理论上来说, <ContentControl x:Name="Content" />我们应该知道我们上一步导航的位置、以及下一步导航的位置, <ContentControl x:Name="Content" />包括我们导航的历史记录。以便于我们使用导航对应用程序可以灵活的控制。
IRegionNavigationJournal
该接口包含以下功能:
GoBack() <ContentControl x:Name="Content" />: <ContentControl x:Name="Content" />返回上一页
CanGoBack <ContentControl x:Name="Content" />: <ContentControl x:Name="Content" />是否可以返回上一页
GoForward(): <ContentControl x:Name="Content" />返回后一页
CanGoForward <ContentControl x:Name="Content" />: <ContentControl x:Name="Content" />是否可以返回后一页
IDialogAware对话框- public <ContentControl x:Name="Content" />interface <ContentControl x:Name="Content" />IDialogAware{string <ContentControl x:Name="Content" />Title <ContentControl x:Name="Content" />{ <ContentControl x:Name="Content" />get; <ContentControl x:Name="Content" />}event <ContentControl x:Name="Content" />Action <ContentControl x:Name="Content" />RequestClose;bool <ContentControl x:Name="Content" />CanCloseDialog();void <ContentControl x:Name="Content" />OnDialogClosed();void <ContentControl x:Name="Content" />OnDialogOpened(IDialogParameters <ContentControl x:Name="Content" />parameters);}
复制代码 注册对话框 <ContentControl x:Name="Content" />RegisterDialog- protected <ContentControl x:Name="Content" />override <ContentControl x:Name="Content" />void <ContentControl x:Name="Content" />RegisterTypes(IContainerRegistry <ContentControl x:Name="Content" />containerRegistry)<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window>{<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />//仅注册视图<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />containerRegistry.RegisterDialog();<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />//注册视图时绑定VM<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />containerRegistry.RegisterDialog();<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />//添加别名<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />containerRegistry.RegisterDialog("DialogName");<Window <ContentControl x:Name="Content" />x:Class="WpfApp_test.Views.MainWindow"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:local="clr-namespace:WpfApp_test.Views"<strong>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />xmlns:prism="http://prismlibrary.com/"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />prism:ViewModelLocator.AutoWireViewModel="True"</strong> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />mc:Ignorable="d"
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" />Title="MainWindow" <ContentControl x:Name="Content" />Height="450" <ContentControl x:Name="Content" />Width="800">
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /><Grid>
- <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /> <ContentControl x:Name="Content" /></Grid>
- </Window>}
复制代码 使用IDialogService接口 <ContentControl x:Name="Content" />Show/ShowDialog <ContentControl x:Name="Content" />方法调用对话框
来源:https://www.cnblogs.com/MingQiu/p/18002672
免责声明:由于采集信息均来自互联网,如果侵犯了您的权益,请联系我们【E-Mail:cb@itdo.tech】 <ContentControl x:Name="Content" />我们会及时删除侵权内容,谢谢合作! |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|