コード例 #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 13:
            {
                global::Windows.UI.Xaml.Controls.Border element13 = (global::Windows.UI.Xaml.Controls.Border)target;
                MainPage_obj13_Bindings bindings = new MainPage_obj13_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::PacketManagement.Packet)element13.DataContext);
                element13.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element13, bindings);
            }
            break;
            }
            return(returnValue);
        }
コード例 #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 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::EpictureFlickr.flickr_photos)element4.DataContext);
                element4.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element4, 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::EpictureFlickr.flickr_photos)element13.DataContext);
                element13.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element13, bindings);
            }
            break;
            }
            return(returnValue);
        }
コード例 #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: // 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 13: // MainPage.xaml line 102
            {
                global::Windows.UI.Xaml.Controls.Grid element13 = (global::Windows.UI.Xaml.Controls.Grid)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;

            case 19: // MainPage.xaml line 73
            {
                global::Windows.UI.Xaml.Controls.Grid element19 = (global::Windows.UI.Xaml.Controls.Grid)target;
                MainPage_obj19_Bindings bindings = new MainPage_obj19_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element19.DataContext);
                element19.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element19, bindings);
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element19, bindings);
            }
            break;

            case 25: // MainPage.xaml line 45
            {
                global::Windows.UI.Xaml.Controls.Grid element25 = (global::Windows.UI.Xaml.Controls.Grid)target;
                MainPage_obj25_Bindings bindings = new MainPage_obj25_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element25.DataContext);
                element25.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element25, bindings);
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element25, bindings);
            }
            break;
            }
            return(returnValue);
        }
コード例 #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);
        }
コード例 #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 13: // MainPage.xaml line 54
     {
         global::Windows.UI.Xaml.Controls.TextBlock element13 = (global::Windows.UI.Xaml.Controls.TextBlock)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);
 }
コード例 #6
0
ファイル: MainPage.g.cs プロジェクト: luongdoan277/UWP
        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 4: // MainPage.xaml line 56
            {
                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 46
            {
                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);
        }
コード例 #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 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::MasterDetailApp.ListItem)element9.DataContext);
                element9.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element9, bindings);
            }
            break;

            case 13:
            {
                global::Windows.UI.Xaml.Controls.TextBlock element13 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                MainPage_obj13_Bindings bindings = new MainPage_obj13_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::MasterDetailApp.ListItem)element13.DataContext);
                element13.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element13, bindings);
            }
            break;
            }
            return(returnValue);
        }
コード例 #8
0
ファイル: MainPage.g.cs プロジェクト: thomas995/MobileApps3
 public MainPage_obj13_BindingsTracking(MainPage_obj13_Bindings obj)
 {
     WeakRefToBindingObj = new global::System.WeakReference <MainPage_obj13_Bindings>(obj);
 }