예제 #1
0
 public ShellViewModel(DockingAdapterViewModel docking, MenuViewModel menu)
 {
     Docking                      = docking;
     Menu                         = menu;
     Menu.VisualStyle             = ShellVisualStyle;
     Menu.ShellViewModel          = this;
     Menu.DockingAdapterViewModel = docking;
 }
예제 #2
0
 public void DockingManagerLoaded(DockingAdapterViewModel model)
 {
     AdapterDockingManager = (((((System.Windows.Application.Current.MainWindow as ShellView).Content as Grid).Children[1] as ContentControl).Content as DockingAdapterView).DockingAdapter.Content as Grid).Children[0] as Syncfusion.Windows.Tools.Controls.DockingManager;
 }