Inheritance: System.Windows.Controls.Canvas
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._modalBackgroundColorPicker = ((Xceed.Wpf.Toolkit.ColorPicker)(target));
                return;

            case 2:
                this._childWindowCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 3:
                this._modalChildWindowCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 4:
                this._messageBoxCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 85 "..\..\..\..\..\..\Samples\Window\Views\WindowContainerView.xaml"
                this._messageBoxCheckBox.Checked += new System.Windows.RoutedEventHandler(this.OnMessageBoxCheckBoxChecked);

            #line default
            #line hidden

            #line 85 "..\..\..\..\..\..\Samples\Window\Views\WindowContainerView.xaml"
                this._messageBoxCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.OnMessageBoxCheckBoxUnchecked);

            #line default
            #line hidden
                return;

            case 5:
                this._windowContainer = ((Xceed.Wpf.Toolkit.Primitives.WindowContainer)(target));
                return;

            case 6:
                this._childWindow = ((Xceed.Wpf.Toolkit.ChildWindow)(target));
                return;

            case 7:
                this._modalChildWindow = ((Xceed.Wpf.Toolkit.ChildWindow)(target));
                return;

            case 8:
                this._messageBox = ((Xceed.Wpf.Toolkit.MessageBox)(target));

            #line 149 "..\..\..\..\..\..\Samples\Window\Views\WindowContainerView.xaml"
                this._messageBox.Closed += new System.EventHandler(this.OnMessageBoxClose);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        public Moderator(
            Window aParentWindow,
            Xceed.Wpf.Toolkit.Primitives.WindowContainer aWindowContainer)
            : this()
        {
            myParentWindow = aParentWindow;

            cadViews = aWindowContainer;
            TestStr  = "hh";
        }
Esempio n. 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.wcCon = ((Xceed.Wpf.Toolkit.Primitives.WindowContainer)(target));
                return;

            case 2:

            #line 16 "..\..\Parent.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }