Exemple #1
0
        public global::Windows.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target)
        {
            global::Windows.UI.Xaml.Markup.IComponentConnector returnValue = null;
            switch (connectionId)
            {
            case 2: // MainPage.xaml line 77
            {
                global::Windows.UI.Xaml.Controls.TreeViewItem element2 = (global::Windows.UI.Xaml.Controls.TreeViewItem)target;
                MainPage_obj2_Bindings bindings = new MainPage_obj2_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element2.DataContext);
                element2.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element2, bindings);
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element2, bindings);
            }
            break;

            case 4: // MainPage.xaml line 66
            {
                global::Windows.UI.Xaml.Controls.TreeViewItem element4 = (global::Windows.UI.Xaml.Controls.TreeViewItem)target;
                MainPage_obj4_Bindings bindings = new MainPage_obj4_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element4.DataContext);
                element4.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element4, bindings);
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element4, bindings);
            }
            break;

            case 9: // MainPage.xaml line 16
            {
                global::Windows.UI.Xaml.Controls.TreeViewItem element9 = (global::Windows.UI.Xaml.Controls.TreeViewItem)target;
                MainPage_obj9_Bindings bindings = new MainPage_obj9_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element9.DataContext);
                element9.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element9, bindings);
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element9, bindings);
            }
            break;
            }
            return(returnValue);
        }
        public global::Windows.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target)
        {
            global::Windows.UI.Xaml.Markup.IComponentConnector returnValue = null;
            switch (connectionId)
            {
            case 1: // MainPage.xaml line 1
            {
                global::Windows.UI.Xaml.Controls.Page element1 = (global::Windows.UI.Xaml.Controls.Page)target;
                MainPage_obj1_Bindings bindings = new MainPage_obj1_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(this);
                this.Bindings     = bindings;
                element1.Loading += bindings.Loading;
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element1, bindings);
            }
            break;

            case 4: // MainPage.xaml line 60
            {
                global::Windows.UI.Xaml.Controls.StackPanel element4 = (global::Windows.UI.Xaml.Controls.StackPanel)target;
                MainPage_obj4_Bindings bindings = new MainPage_obj4_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element4.DataContext);
                element4.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element4, bindings);
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element4, bindings);
            }
            break;

            case 13: // MainPage.xaml line 45
            {
                global::Windows.UI.Xaml.Controls.Image element13 = (global::Windows.UI.Xaml.Controls.Image)target;
                MainPage_obj13_Bindings bindings = new MainPage_obj13_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element13.DataContext);
                element13.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element13, bindings);
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element13, bindings);
            }
            break;
            }
            return(returnValue);
        }
 public global::Windows.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target)
 {
     global::Windows.UI.Xaml.Markup.IComponentConnector returnValue = null;
     switch (connectionId)
     {
     case 4: // MainPage.xaml line 27
     {
         var templatedParent4 = target as global::Controls.ImageCropper;
         if (templatedParent4 != null)
         {
             MainPage_obj4_Bindings bindings = new MainPage_obj4_Bindings();
             returnValue = bindings;
             bindings.SetDataRoot(templatedParent4);
             global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(templatedParent4, bindings);
         }
     }
     break;
     }
     return(returnValue);
 }
        public global::Windows.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target)
        {
            global::Windows.UI.Xaml.Markup.IComponentConnector returnValue = null;
            switch (connectionId)
            {
            case 1:
            {
                global::Windows.UI.Xaml.Controls.Page element1 = (global::Windows.UI.Xaml.Controls.Page)target;
                MainPage_obj1_Bindings bindings = new MainPage_obj1_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(this);
                bindings.SetConverterLookupRoot(this);
                this.Bindings     = bindings;
                element1.Loading += bindings.Loading;
            }
            break;

            case 4:
            {
                global::Windows.UI.Xaml.Controls.Grid element4 = (global::Windows.UI.Xaml.Controls.Grid)target;
                MainPage_obj4_Bindings bindings = new MainPage_obj4_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::DoorKnock.KnockInfo)element4.DataContext);
                element4.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element4, bindings);
            }
            break;

            case 11:
            {
                global::Windows.UI.Xaml.Controls.Grid element11 = (global::Windows.UI.Xaml.Controls.Grid)target;
                MainPage_obj11_Bindings bindings = new MainPage_obj11_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::DoorKnock.KnockInfo)element11.DataContext);
                element11.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element11, bindings);
            }
            break;
            }
            return(returnValue);
        }
        public global::Windows.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target)
        {
            global::Windows.UI.Xaml.Markup.IComponentConnector returnValue = null;
            switch (connectionId)
            {
            case 1:
            {
                global::Windows.UI.Xaml.Controls.Page element1 = (global::Windows.UI.Xaml.Controls.Page)target;
                MainPage_obj1_Bindings bindings = new MainPage_obj1_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(this);
                this.Bindings     = bindings;
                element1.Loading += bindings.Loading;
            }
            break;

            case 4:
            {
                global::Windows.UI.Xaml.Controls.StackPanel element4 = (global::Windows.UI.Xaml.Controls.StackPanel)target;
                MainPage_obj4_Bindings bindings = new MainPage_obj4_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::UWPSoundBoard.Model.MenuItem)element4.DataContext);
                element4.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element4, bindings);
            }
            break;

            case 10:
            {
                global::Windows.UI.Xaml.Controls.Image element10 = (global::Windows.UI.Xaml.Controls.Image)target;
                MainPage_obj10_Bindings bindings = new MainPage_obj10_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::UWPSoundBoard.Model.Sound)element10.DataContext);
                element10.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element10, bindings);
            }
            break;
            }
            return(returnValue);
        }
 public MainPage_obj4_BindingsTracking(MainPage_obj4_Bindings obj)
 {
     weakRefToBindingObj = new global::System.WeakReference <MainPage_obj4_Bindings>(obj);
 }
Exemple #7
0
        public global::Windows.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target)
        {
            global::Windows.UI.Xaml.Markup.IComponentConnector returnValue = null;
            switch (connectionId)
            {
            case 1:
            {
                global::Windows.UI.Xaml.Controls.Page element1 = (global::Windows.UI.Xaml.Controls.Page)target;
                MainPage_obj1_Bindings bindings = new MainPage_obj1_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(this);
                this.Bindings     = bindings;
                element1.Loading += bindings.Loading;
            }
            break;

            case 3:
            {
                global::Windows.UI.Xaml.Controls.TextBlock element3 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                MainPage_obj3_Bindings bindings = new MainPage_obj3_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::DTSelectorWithCVS.test)element3.DataContext);
                element3.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element3, bindings);
            }
            break;

            case 4:
            {
                global::Windows.UI.Xaml.Controls.TextBlock element4 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                MainPage_obj4_Bindings bindings = new MainPage_obj4_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::DTSelectorWithCVS.test)element4.DataContext);
                element4.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element4, bindings);
            }
            break;

            case 5:
            {
                global::Windows.UI.Xaml.Controls.TextBlock element5 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                MainPage_obj5_Bindings bindings = new MainPage_obj5_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::DTSelectorWithCVS.GroupInfoList)element5.DataContext);
                element5.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element5, bindings);
            }
            break;

            case 6:
            {
                global::Windows.UI.Xaml.Controls.TextBlock element6 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                MainPage_obj6_Bindings bindings = new MainPage_obj6_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::DTSelectorWithCVS.GroupInfoList)element6.DataContext);
                element6.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element6, bindings);
            }
            break;
            }
            return(returnValue);
        }