Ejemplo n.º 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 1:
            {
                global::Windows.UI.Xaml.Controls.Grid element1 = (global::Windows.UI.Xaml.Controls.Grid)target;
                MainPage_obj1_Bindings bindings = new MainPage_obj1_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element1.DataContext);
                element1.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element1, bindings);
            }
            break;

            case 3:
            {
                global::Windows.UI.Xaml.Controls.Grid element3 = (global::Windows.UI.Xaml.Controls.Grid)target;
                MainPage_obj3_Bindings bindings = new MainPage_obj3_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element3.DataContext);
                element3.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element3, bindings);
            }
            break;
            }
            return(returnValue);
        }
Ejemplo n.º 2
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: // 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 3: // MainPage.xaml line 14
            {
                global::Windows.UI.Xaml.Controls.StackPanel element3 = (global::Windows.UI.Xaml.Controls.StackPanel)target;
                MainPage_obj3_Bindings bindings = new MainPage_obj3_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element3.DataContext);
                element3.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element3, bindings);
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element3, bindings);
            }
            break;
            }
            return(returnValue);
        }
Ejemplo n.º 3
0
        public global::Windows.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target)
        {
            global::Windows.UI.Xaml.Markup.IComponentConnector returnValue = null;
            switch (connectionId)
            {
            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::AppList.mytest)element3.DataContext);
                element3.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element3, bindings);
            }
            break;

            case 4:
            {
                global::Windows.UI.Xaml.Controls.Border element4 = (global::Windows.UI.Xaml.Controls.Border)target;
                MainPage_obj4_Bindings bindings = new MainPage_obj4_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::AppList.testclas)element4.DataContext);
                element4.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element4, bindings);
            }
            break;
            }
            return(returnValue);
        }
Ejemplo n.º 4
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.StackPanel element3 = (global::Windows.UI.Xaml.Controls.StackPanel)target;
                MainPage_obj3_Bindings bindings = new MainPage_obj3_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::FlightTicketDemo.TicketInfo)element3.DataContext);
                element3.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element3, bindings);
            }
            break;

            case 13:
            {
                global::Windows.UI.Xaml.Controls.StackPanel element13 = (global::Windows.UI.Xaml.Controls.StackPanel)target;
                MainPage_obj13_Bindings bindings = new MainPage_obj13_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::FlightTicketDemo.CreditCardDetails)element13.DataContext);
                element13.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element13, bindings);
            }
            break;

            case 18:
            {
                global::Windows.UI.Xaml.Controls.StackPanel element18 = (global::Windows.UI.Xaml.Controls.StackPanel)target;
                MainPage_obj18_Bindings bindings = new MainPage_obj18_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::FlightTicketDemo.FlightDetails)element18.DataContext);
                element18.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element18, bindings);
            }
            break;
            }
            return(returnValue);
        }
Ejemplo n.º 5
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.StackPanel element3 = (global::Windows.UI.Xaml.Controls.StackPanel)target;
                MainPage_obj3_Bindings bindings = new MainPage_obj3_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::ObservableCollectionExample.Models.Contact)element3.DataContext);
                element3.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element3, bindings);
            }
            break;

            case 11:
            {
                global::Windows.UI.Xaml.Controls.Image element11 = (global::Windows.UI.Xaml.Controls.Image)target;
                MainPage_obj11_Bindings bindings = new MainPage_obj11_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::ObservableCollectionExample.Models.Icon)element11.DataContext);
                element11.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element11, bindings);
            }
            break;
            }
            return(returnValue);
        }
Ejemplo n.º 6
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);
        }
Ejemplo n.º 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.StackPanel element3 = (global::Windows.UI.Xaml.Controls.StackPanel)target;
             MainPage_obj3_Bindings bindings = new MainPage_obj3_Bindings();
             returnValue = bindings;
             bindings.SetDataRoot((global::kzhihuApp.BizModel.BizPost) element3.DataContext);
             element3.DataContextChanged += bindings.DataContextChangedHandler;
             global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element3, bindings);
         }
         break;
     }
     return returnValue;
 }