コード例 #1
0
 public SolutionExplorerViewModel(SolutionExplorer view)
 {
     this._view = view;
 }
コード例 #2
0
        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;
            }
        }
コード例 #3
0
 public SolutionExplorerViewModel(SolutionExplorer view)
 {
     this._view = view;
 }