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

            case 2:

            #line 45 "..\..\..\..\CollectionControl\Implementation\CollectionControlDialog.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OkButton_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 49 "..\..\..\..\CollectionControl\Implementation\CollectionControlDialog.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CancelButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        private static void OnItemsSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            CollectionControl CollectionControl = ( CollectionControl )d;

            if (CollectionControl != null)
            {
                CollectionControl.OnItemSourceChanged(( IList )e.OldValue, ( IList )e.NewValue);
            }
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this._propertyGrid = ((Xceed.Wpf.Toolkit.CollectionControl)(target));
     return;
     case 2:
     
     #line 39 "..\..\..\..\CollectionControl\Implementation\CollectionControlDialog.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OkButton_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 40 "..\..\..\..\CollectionControl\Implementation\CollectionControlDialog.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CancelButton_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }