void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Outline = ((ICSharpCode.WpfDesign.Designer.OutlineView.Outline)(target));
                return;

            case 2:
                this.AddItem = ((System.Windows.Controls.Button)(target));

            #line 16 "..\..\..\..\PropertyGrid\Editors\CollectionEditor.xaml"
                this.AddItem.Click += new System.Windows.RoutedEventHandler(this.OnAddItemClicked);

            #line default
            #line hidden
                return;

            case 3:
                this.RemoveItem = ((System.Windows.Controls.Button)(target));

            #line 17 "..\..\..\..\PropertyGrid\Editors\CollectionEditor.xaml"
                this.RemoveItem.Click += new System.Windows.RoutedEventHandler(this.OnRemoveItemClicked);

            #line default
            #line hidden
                return;

            case 4:
                this.MoveUpItem = ((System.Windows.Controls.Button)(target));

            #line 18 "..\..\..\..\PropertyGrid\Editors\CollectionEditor.xaml"
                this.MoveUpItem.Click += new System.Windows.RoutedEventHandler(this.OnMoveItemUpClicked);

            #line default
            #line hidden
                return;

            case 5:
                this.MoveDownItem = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\..\..\PropertyGrid\Editors\CollectionEditor.xaml"
                this.MoveDownItem.Click += new System.Windows.RoutedEventHandler(this.OnMoveItemDownClicked);

            #line default
            #line hidden
                return;

            case 6:
                this.PropertyGridView = ((ICSharpCode.WpfDesign.Designer.PropertyGrid.PropertyGridView)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.root = ((ICSharpCode.WpfDesign.Designer.OutlineView.Outline)(target));
                return;

            case 2:
                this.OutlineTreeView = ((ICSharpCode.WpfDesign.Designer.OutlineView.OutlineTreeView)(target));
                return;
            }
            this._contentLoaded = true;
        }