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 { /// /// MainContent.xaml 的交互逻辑 /// public partial class MainContent : UserControl { /// /// 用来区分每个页签的唯一识别码,避免聚合事件重复订阅 /// public string Unicode { get; set; } /// /// 保存单个页签内各ContentRegionName的Value /// 方便不同跨模块控制Region导肮 /// public Dictionary RegionContentNames { get; set; } public MainContent() { InitializeComponent(); RegionContentNames = new Dictionary(); Unicode = Guid.NewGuid().ToString(); } } }