protected ClrObjectDialogBase() { this.root = (FilteredTreeItem) new ProjectAssembliesItem(); this.root.IsExpanded = true; this.flattener = new VirtualizingTreeItemFlattener <FilteredTreeItem>((ITreeViewItemProvider <FilteredTreeItem>) this); this.selectionContext = (Microsoft.Expression.DesignSurface.UserInterface.DataPane.SelectionContext <TypeItem>) new SingleSelectionContext <TypeItem>(); this.selectionContext.PropertyChanged += new PropertyChangedEventHandler(this.SelectionContextPropertyChanged); this.SizeToContent = SizeToContent.Width; this.MinHeight = 600.0; this.MinWidth = 400.0; this.Height = 600.0; }
protected SelectableItem(Microsoft.Expression.DesignSurface.UserInterface.DataPane.SelectionContext <T> selectionContext) { this.selectionContext = selectionContext; }