Example #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);
                bindings.SetConverterLookupRoot(this);
                this.Bindings     = bindings;
                element1.Loading += bindings.Loading;
            }
            break;

            case 9:
            {
                global::Windows.UI.Xaml.Controls.TextBlock element9 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                MainPage_obj9_Bindings bindings = new MainPage_obj9_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::MobileApps3_Project.ViewModels.LevelViewModel)element9.DataContext);
                element9.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element9, bindings);
            }
            break;
            }
            return(returnValue);
        }
Example #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 9: // MainPage.xaml line 35
            {
                global::Windows.UI.Xaml.Controls.Image element9 = (global::Windows.UI.Xaml.Controls.Image)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);
        }
Example #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 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:
            {
                global::Windows.UI.Xaml.Controls.StackPanel element9 = (global::Windows.UI.Xaml.Controls.StackPanel)target;
                MainPage_obj9_Bindings bindings = new MainPage_obj9_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::Weather.MyListViewObject)element9.DataContext);
                element9.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element9, bindings);
            }
            break;
            }
            return(returnValue);
        }
Example #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 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);
        }