Esempio 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.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 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::SoundCloud.Models.Menu)element18.DataContext);
                element18.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element18, bindings);
            }
            break;
            }
            return(returnValue);
        }
Esempio 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:
            {
                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);
        }
Esempio n. 3
0
                public MainPage_obj18_Bindings TryGetBindingObject()
                {
                    MainPage_obj18_Bindings bindingObject = null;

                    if (weakRefToBindingObj != null)
                    {
                        weakRefToBindingObj.TryGetTarget(out bindingObject);
                        if (bindingObject == null)
                        {
                            weakRefToBindingObj = null;
                            ReleaseAllListeners();
                        }
                    }
                    return(bindingObject);
                }
Esempio 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 18:
     {
         global::Windows.UI.Xaml.Controls.UserControl element18 = (global::Windows.UI.Xaml.Controls.UserControl)target;
         MainPage_obj18_Bindings bindings = new MainPage_obj18_Bindings();
         returnValue = bindings;
         bindings.SetDataRoot((global::Todos.Models.TodoItem)element18.DataContext);
         element18.DataContextChanged += bindings.DataContextChangedHandler;
         global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element18, bindings);
     }
     break;
     }
     return(returnValue);
 }
Esempio 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: // 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;
            }
            break;

            case 9: // MainPage.xaml line 86
            {
                global::Windows.UI.Xaml.Controls.Border element9 = (global::Windows.UI.Xaml.Controls.Border)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;

            case 18: // MainPage.xaml line 61
            {
                global::Windows.UI.Xaml.Controls.Border element18 = (global::Windows.UI.Xaml.Controls.Border)target;
                MainPage_obj18_Bindings bindings = new MainPage_obj18_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element18.DataContext);
                element18.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element18, bindings);
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element18, bindings);
            }
            break;
            }
            return(returnValue);
        }
Esempio n. 6
0
 public MainPage_obj18_BindingsTracking(MainPage_obj18_Bindings obj)
 {
     weakRefToBindingObj = new global::System.WeakReference <MainPage_obj18_Bindings>(obj);
 }
        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;
            }
            break;

            case 6: // MainPage.xaml line 48
            {
                global::Windows.UI.Xaml.Controls.Button element6 = (global::Windows.UI.Xaml.Controls.Button)target;
                MainPage_obj6_Bindings bindings = new MainPage_obj6_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element6.DataContext);
                element6.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element6, bindings);
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element6, bindings);
            }
            break;

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

            case 18: // MainPage.xaml line 87
            {
                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(element18.DataContext);
                element18.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element18, bindings);
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element18, bindings);
            }
            break;

            case 20: // MainPage.xaml line 76
            {
                global::Windows.UI.Xaml.Controls.StackPanel element20 = (global::Windows.UI.Xaml.Controls.StackPanel)target;
                MainPage_obj20_Bindings bindings = new MainPage_obj20_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element20.DataContext);
                element20.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element20, bindings);
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element20, bindings);
            }
            break;
            }
            return(returnValue);
        }