public ShellViewModel(DockingAdapterViewModel docking, MenuViewModel menu) { Docking = docking; Menu = menu; Menu.VisualStyle = ShellVisualStyle; Menu.ShellViewModel = this; Menu.DockingAdapterViewModel = docking; }
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; }