123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- using PDF_Office.ViewModels;
- using Prism.Ioc;
- using Prism.Regions;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Data;
- using System.Windows.Documents;
- using System.Windows.Input;
- using System.Windows.Media;
- using System.Windows.Media.Imaging;
- using System.Windows.Navigation;
- using System.Windows.Shapes;
- namespace PDF_Office.Views
- {
- /// <summary>
- /// MainContent.xaml 的交互逻辑
- /// </summary>
- public partial class MainContent : UserControl
- {
- /// <summary>
- /// 用来区分每个页签的唯一识别码,避免聚合事件重复订阅
- /// </summary>
- public string Unicode { get; set; }
- /// <summary>
- /// 保存单个页签内各ContentRegionName的Value
- /// 方便不同跨模块控制Region导肮
- /// </summary>
- public Dictionary<string, string> RegionContentNames { get; set; }
- public MainContent()
- {
- InitializeComponent();
- RegionContentNames = new Dictionary<string, string>();
- Unicode = Guid.NewGuid().ToString();
- }
- }
- }
|