void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.showHideButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 37 "..\..\..\Modules\ColumnCustomization.xaml"
                this.showHideButton.Checked += new System.Windows.RoutedEventHandler(this.showHideButton_Toggle);

            #line default
            #line hidden

            #line 38 "..\..\..\Modules\ColumnCustomization.xaml"
                this.showHideButton.Unchecked += new System.Windows.RoutedEventHandler(this.showHideButton_Toggle);

            #line default
            #line hidden
                return;

            case 2:
                this.columnChooserTypesListBox = ((DevExpress.Xpf.Editors.ListBoxEdit)(target));
                return;

            case 3:
                this.customColumnChooserExpander = ((DevExpress.Xpf.DemoBase.DemoExpander)(target));

            #line 53 "..\..\..\Modules\ColumnCustomization.xaml"
                this.customColumnChooserExpander.Expanded += new System.Windows.RoutedEventHandler(this.customColumnChooserExpander_Expanded);

            #line default
            #line hidden

            #line 54 "..\..\..\Modules\ColumnCustomization.xaml"
                this.customColumnChooserExpander.Collapsed += new System.Windows.RoutedEventHandler(this.customColumnChooserExpander_Collapsed);

            #line default
            #line hidden
                return;

            case 4:
                this.columnChooser = ((GridDemo.DemoColumnChooserControl)(target));
                return;

            case 5:
                this.grid = ((DevExpress.Xpf.Grid.GridControl)(target));
                return;

            case 6:
                this.gridView = ((DevExpress.Xpf.Grid.TableView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
 public DemoColumnChooser(DemoColumnChooserControl columnChooserControl)
 {
     this.columnChooserControl = columnChooserControl;
 }