public SolutionExplorerViewModel(SolutionExplorer view) { this._view = view; }
public void showSolutionExplorer(bool makeActive) { if(solExp == null) { solExp = new SolutionExplorer(this); solExp.ViewModel.OnLoaded(); var firstAnchorablePane = View.dockingManager.Layout.Descendents().OfType<LayoutAnchorablePane>().FirstOrDefault(); if (firstAnchorablePane != null) { firstAnchorablePane.Children.Add(solExp); } } else { solExp.Show(); } if(makeActive) { solExp.IsActive = true; solExp.IsSelected = true; } }