示例#1
0
        public void Selected(SettingMenu item)
        {
            //NavigationService.Navigate("SetDetectorView", null, this);
            IDocument doc = documentManagerService.CreateDocument(item.ViewPath, null, this);

            doc.Id    = documentManagerService.Documents.Count();
            doc.Title = item.Title;
            doc.Show();
        }
示例#2
0
 public SettingManageViewModel()
 {
     SettingMenu.Add(new ViewModels.SettingMenu()
     {
         Title = "属性形式", ViewPath = "SetDetectorView", Description = "根据model的属性特性值来创建呈现的位置。具有分组、查询的功能"
     });
     SettingMenu.Add(new ViewModels.SettingMenu()
     {
         Title = "自动布局", ViewPath = "SetDetector2View", Description = "根据model的特性值创建呈现的位置,可横向排版,具有分组、tab标签的功能,但不具备查询功能。"
     });
     //SettingMenu.Add(new ViewModels.SettingMenu() { Title = "基本参数2", ViewPath = "", Description = "描述信息" });
     //SettingMenu.Add(new ViewModels.SettingMenu() { Title = "基本参数3", ViewPath = "", Description = "描述信息" });
 }