随笔分类 -  C# WPF / Prism

摘要:11 阅读全文
posted @ 2023-03-28 18:13 Windows窗 阅读(10) 评论(0) 推荐(0) 编辑
摘要:Prism内置了几个区域适配器 ContentControlRegionAdapter ItemsControlRegionAdapter SelectorRegionAdapter ComboBox ListBox Ribbon TabControl 所以我们可以在ContentControl当中 阅读全文
posted @ 2023-03-28 17:39 Windows窗 阅读(111) 评论(0) 推荐(0) 编辑
摘要:定义Region的方式有两种: 一种是在XAML定义 RegionManager.RegionName(XAML) 一、View代码 1 <Viewbox Grid.Column="1" > 2 <ContentControl prism:RegionManager.RegionName="Cont 阅读全文
posted @ 2023-03-28 10:46 Windows窗 阅读(124) 评论(0) 推荐(0) 编辑
摘要:View代码 1 <StackPanel> 2 <TextBlock Text="方法一"></TextBlock> 3 <TextBox Text="{Binding Value1}"></TextBox> 4 <TextBlock Text="方法二"></TextBlock> 5 <TextB 阅读全文
posted @ 2023-03-27 23:55 Windows窗 阅读(73) 评论(0) 推荐(0) 编辑
摘要:View代码 <StackPanel> <Button Content="方法一" Command="{Binding AddCommand}"></Button> </StackPanel> ViewModel代码 1 public DelegateCommand? AddCommand 2 { 阅读全文
posted @ 2023-03-27 23:05 Windows窗 阅读(180) 评论(0) 推荐(0) 编辑
摘要:Prism - 标签 - 阿杜聊编程 - 博客园 (cnblogs.com) 阅读全文
posted @ 2023-03-27 22:08 Windows窗 阅读(7) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示