コード例 #1
0
                public void DependencyPropertyChanged_slider_Value(global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop)
                {
                    MainPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        global::Windows.UI.Xaml.Controls.Slider obj = sender as global::Windows.UI.Xaml.Controls.Slider;
                        if (obj != null)
                        {
                            bindings.Update_slider_Value(obj.Value, DATA_CHANGED);
                        }
                    }
                }
コード例 #2
0
                public void DependencyPropertyChanged_AccountLevel(global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop)
                {
                    MainPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        global::projectHerbariumMgmtIS.MainPage obj = sender as global::projectHerbariumMgmtIS.MainPage;
                        if (obj != null)
                        {
                            bindings.Update_AccountLevel(obj.AccountLevel, DATA_CHANGED);
                        }
                    }
                }
コード例 #3
0
                public void DependencyPropertyChanged_AppFrame_CanGoBack(global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop)
                {
                    MainPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        global::Windows.UI.Xaml.Controls.Frame obj = sender as global::Windows.UI.Xaml.Controls.Frame;
                        if (obj != null)
                        {
                            bindings.Update_AppFrame_CanGoBack(obj.CanGoBack, DATA_CHANGED);
                        }
                    }
                }
コード例 #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 MainPage_obj1_Bindings TryGetBindingObject()
                {
                    MainPage_obj1_Bindings bindingObject = null;

                    if (weakRefToBindingObj != null)
                    {
                        weakRefToBindingObj.TryGetTarget(out bindingObject);
                        if (bindingObject == null)
                        {
                            weakRefToBindingObj = null;
                            ReleaseAllListeners();
                        }
                    }
                    return(bindingObject);
                }
                public void UpdateChildListeners_(global::PhotoLab.MainPage obj)
                {
                    MainPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        if (bindings.dataRoot != null)
                        {
                            ((global::System.ComponentModel.INotifyPropertyChanged)bindings.dataRoot).PropertyChanged -= PropertyChanged_;
                        }
                        if (obj != null)
                        {
                            bindings.dataRoot = obj;
                            ((global::System.ComponentModel.INotifyPropertyChanged)obj).PropertyChanged += PropertyChanged_;
                        }
                    }
                }
コード例 #7
0
ファイル: MainPage.g.cs プロジェクト: ooad-2015-2016/Wasabi
 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((global::Prodavnica.ViewModels.MeniStavkeViewModel)element1.DataContext);
         element1.DataContextChanged += bindings.DataContextChangedHandler;
         global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element1, bindings);
     }
     break;
     }
     return(returnValue);
 }
コード例 #8
0
ファイル: MainPage.g.cs プロジェクト: ryangmolina/fungry
 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;
     }
     return(returnValue);
 }
コード例 #9
0
                public void PropertyChanged_ViewModel(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    MainPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::TelerikChartTest.ViewModels.MainViewModel obj = sender as global::TelerikChartTest.ViewModels.MainViewModel;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                            if (obj != null)
                            {
                                bindings.Update_ViewModel_Data(obj.Data, DATA_CHANGED);
                                bindings.Update_ViewModel_EventData(obj.EventData, DATA_CHANGED);
                            }
                        }
                        else
                        {
                            switch (propName)
                            {
                            case "Data":
                            {
                                if (obj != null)
                                {
                                    bindings.Update_ViewModel_Data(obj.Data, DATA_CHANGED);
                                }
                                break;
                            }

                            case "EventData":
                            {
                                if (obj != null)
                                {
                                    bindings.Update_ViewModel_EventData(obj.EventData, DATA_CHANGED);
                                }
                                break;
                            }

                            default:
                                break;
                            }
                        }
                    }
                }
コード例 #10
0
                public void PropertyChanged_ViewModel(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    MainPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::ProjektIPM.ViewModel obj = sender as global::ProjektIPM.ViewModel;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                            if (obj != null)
                            {
                                bindings.Update_ViewModel_DateOfPublication(obj.DateOfPublication, DATA_CHANGED);
                                bindings.Update_ViewModel_Exist(obj.Exist, DATA_CHANGED);
                            }
                        }
                        else
                        {
                            switch (propName)
                            {
                            case "DateOfPublication":
                            {
                                if (obj != null)
                                {
                                    bindings.Update_ViewModel_DateOfPublication(obj.DateOfPublication, DATA_CHANGED);
                                }
                                break;
                            }

                            case "Exist":
                            {
                                if (obj != null)
                                {
                                    bindings.Update_ViewModel_Exist(obj.Exist, DATA_CHANGED);
                                }
                                break;
                            }

                            default:
                                break;
                            }
                        }
                    }
                }
コード例 #11
0
                public void PropertyChanged_Character(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    MainPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::CharacterLibrary.CharacterInstance obj = sender as global::CharacterLibrary.CharacterInstance;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                            if (obj != null)
                            {
                                bindings.Update_Character_Name(obj.Name, DATA_CHANGED);
                                bindings.Update_Character_Description(obj.Description, DATA_CHANGED);
                            }
                        }
                        else
                        {
                            switch (propName)
                            {
                            case "Name":
                            {
                                if (obj != null)
                                {
                                    bindings.Update_Character_Name(obj.Name, DATA_CHANGED);
                                }
                                break;
                            }

                            case "Description":
                            {
                                if (obj != null)
                                {
                                    bindings.Update_Character_Description(obj.Description, DATA_CHANGED);
                                }
                                break;
                            }

                            default:
                                break;
                            }
                        }
                    }
                }
コード例 #12
0
ファイル: MainPage.g.cs プロジェクト: VsabGit/Repo1
                public void PropertyChanged_ViewModel(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    MainPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::FriendEditor.ViewModel.MainViewModel obj = sender as global::FriendEditor.ViewModel.MainViewModel;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                            if (obj != null)
                            {
                                bindings.Update_ViewModel_SelectedFriend(obj.SelectedFriend, DATA_CHANGED);
                                bindings.Update_ViewModel_IsFriendSelected(obj.IsFriendSelected, DATA_CHANGED);
                            }
                        }
                        else
                        {
                            switch (propName)
                            {
                            case "SelectedFriend":
                            {
                                if (obj != null)
                                {
                                    bindings.Update_ViewModel_SelectedFriend(obj.SelectedFriend, DATA_CHANGED);
                                }
                                break;
                            }

                            case "IsFriendSelected":
                            {
                                if (obj != null)
                                {
                                    bindings.Update_ViewModel_IsFriendSelected(obj.IsFriendSelected, DATA_CHANGED);
                                }
                                break;
                            }

                            default:
                                break;
                            }
                        }
                    }
                }
コード例 #13
0
                public void PropertyChanged_ViewModel(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    MainPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::HandsOnIoT.MainViewModel obj = sender as global::HandsOnIoT.MainViewModel;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                            if (obj != null)
                            {
                                bindings.Update_ViewModel_Message(obj.Message, DATA_CHANGED);
                                bindings.Update_ViewModel_Sensors(obj.Sensors, DATA_CHANGED);
                            }
                        }
                        else
                        {
                            switch (propName)
                            {
                            case "Message":
                            {
                                if (obj != null)
                                {
                                    bindings.Update_ViewModel_Message(obj.Message, DATA_CHANGED);
                                }
                                break;
                            }

                            case "Sensors":
                            {
                                if (obj != null)
                                {
                                    bindings.Update_ViewModel_Sensors(obj.Sensors, DATA_CHANGED);
                                }
                                break;
                            }

                            default:
                                break;
                            }
                        }
                    }
                }
コード例 #14
0
ファイル: MainPage.g.cs プロジェクト: ced-mohitp/comboboxEx
                public void PropertyChanged_(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    MainPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::CBExample2.MainPage obj = sender as global::CBExample2.MainPage;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                            if (obj != null)
                            {
                                bindings.Update_EditText(obj.EditText, DATA_CHANGED);
                                bindings.Update_SelectedComboBoxOption(obj.SelectedComboBoxOption, DATA_CHANGED);
                            }
                        }
                        else
                        {
                            switch (propName)
                            {
                            case "EditText":
                            {
                                if (obj != null)
                                {
                                    bindings.Update_EditText(obj.EditText, DATA_CHANGED);
                                }
                                break;
                            }

                            case "SelectedComboBoxOption":
                            {
                                if (obj != null)
                                {
                                    bindings.Update_SelectedComboBoxOption(obj.SelectedComboBoxOption, DATA_CHANGED);
                                }
                                break;
                            }

                            default:
                                break;
                            }
                        }
                    }
                }
コード例 #15
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 10: // MainPage.xaml line 65
            {
                global::Windows.UI.Xaml.Controls.Grid element10 = (global::Windows.UI.Xaml.Controls.Grid)target;
                MainPage_obj10_Bindings bindings = new MainPage_obj10_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element10.DataContext);
                element10.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element10, bindings);
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element10, bindings);
            }
            break;

            case 16: // MainPage.xaml line 23
            {
                global::Windows.UI.Xaml.Controls.Grid element16 = (global::Windows.UI.Xaml.Controls.Grid)target;
                MainPage_obj16_Bindings bindings = new MainPage_obj16_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element16.DataContext);
                bindings.SetConverterLookupRoot(this);
                element16.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element16, bindings);
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element16, bindings);
            }
            break;
            }
            return(returnValue);
        }
コード例 #16
0
                public void UpdateChildListeners_(global::projectHerbariumMgmtIS.MainPage obj)
                {
                    MainPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        if (bindings.dataRoot != null)
                        {
                            bindings.dataRoot.UnregisterPropertyChangedCallback(global::projectHerbariumMgmtIS.MainPage.StaffNameProperty, tokenDPC_StaffName);
                            bindings.dataRoot.UnregisterPropertyChangedCallback(global::projectHerbariumMgmtIS.MainPage.AccountLevelProperty, tokenDPC_AccountLevel);
                        }
                        if (obj != null)
                        {
                            bindings.dataRoot     = obj;
                            tokenDPC_StaffName    = obj.RegisterPropertyChangedCallback(global::projectHerbariumMgmtIS.MainPage.StaffNameProperty, DependencyPropertyChanged_StaffName);
                            tokenDPC_AccountLevel = obj.RegisterPropertyChangedCallback(global::projectHerbariumMgmtIS.MainPage.AccountLevelProperty, DependencyPropertyChanged_AccountLevel);
                        }
                    }
                }
コード例 #17
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: // Pages\Lab\Lab_25_Common_XAML_Controls_Part_2\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;
     }
     return(returnValue);
 }
コード例 #18
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 5: // MainPage.xaml line 56
            {
                global::Windows.UI.Xaml.Controls.StackPanel element5 = (global::Windows.UI.Xaml.Controls.StackPanel)target;
                MainPage_obj5_Bindings bindings = new MainPage_obj5_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element5.DataContext);
                element5.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element5, bindings);
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element5, bindings);
            }
            break;

            case 12: // MainPage.xaml line 88
            {
                global::Windows.UI.Xaml.Controls.Image element12 = (global::Windows.UI.Xaml.Controls.Image)target;
                MainPage_obj12_Bindings bindings = new MainPage_obj12_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element12.DataContext);
                element12.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element12, bindings);
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element12, bindings);
            }
            break;
            }
            return(returnValue);
        }
コード例 #19
0
ファイル: MainPage.g.cs プロジェクト: taylorbailey97/CIT365
        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 25
            {
                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 2: // MainPage.xaml line 128
            {
                global::Windows.UI.Xaml.Controls.Grid element2 = (global::Windows.UI.Xaml.Controls.Grid)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 7: // MainPage.xaml line 74
            {
                global::Windows.UI.Xaml.Controls.Grid element7 = (global::Windows.UI.Xaml.Controls.Grid)target;
                MainPage_obj7_Bindings bindings = new MainPage_obj7_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element7.DataContext);
                element7.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element7, bindings);
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element7, bindings);
            }
            break;
            }
            return(returnValue);
        }
コード例 #20
0
ファイル: MainPage.g.cs プロジェクト: arfontai/NarratorApp
        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);
        }
コード例 #21
0
ファイル: MainPage.g.cs プロジェクト: obrcnh/music_player
        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 34:
            {
                global::Windows.UI.Xaml.Controls.Grid element34 = (global::Windows.UI.Xaml.Controls.Grid)target;
                MainPage_obj34_Bindings bindings = new MainPage_obj34_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::player.Song.SongItem)element34.DataContext);
                element34.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element34, bindings);
            }
            break;

            case 37:
            {
                global::Windows.UI.Xaml.Controls.Grid element37 = (global::Windows.UI.Xaml.Controls.Grid)target;
                MainPage_obj37_Bindings bindings = new MainPage_obj37_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::player.Song.SongItem)element37.DataContext);
                bindings.SetConverterLookupRoot(this);
                element37.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element37, bindings);
            }
            break;
            }
            return(returnValue);
        }
コード例 #22
0
                public void PropertyChanged_ViewModel_People(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    MainPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::System.Collections.ObjectModel.ObservableCollection <global::App07_08_09_ToDo.Models.Person> obj = sender as global::System.Collections.ObjectModel.ObservableCollection <global::App07_08_09_ToDo.Models.Person>;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                        }
                        else
                        {
                            switch (propName)
                            {
                            default:
                                break;
                            }
                        }
                    }
                }
コード例 #23
0
                public void PropertyChanged_selectedItem(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    MainPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::RedisExplorerUWP.Model.RedisItem obj = sender as global::RedisExplorerUWP.Model.RedisItem;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                        }
                        else
                        {
                            switch (propName)
                            {
                            default:
                                break;
                            }
                        }
                    }
                }
                public void PropertyChanged_Images(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    MainPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::System.Collections.ObjectModel.ObservableCollection <global::PhotoLab.ImageFileInfo> obj = sender as global::System.Collections.ObjectModel.ObservableCollection <global::PhotoLab.ImageFileInfo>;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                        }
                        else
                        {
                            switch (propName)
                            {
                            default:
                                break;
                            }
                        }
                    }
                }
コード例 #25
0
                public void PropertyChanged_ChatList(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    MainPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::System.Collections.ObjectModel.ObservableCollection <global::Chat_Control_UWP.Models.chatItem> obj = sender as global::System.Collections.ObjectModel.ObservableCollection <global::Chat_Control_UWP.Models.chatItem>;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                        }
                        else
                        {
                            switch (propName)
                            {
                            default:
                                break;
                            }
                        }
                    }
                }
コード例 #26
0
ファイル: MainPage.g.cs プロジェクト: VsabGit/Repo1
                public void PropertyChanged_ViewModel_SelectedFriend(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    MainPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::FriendEditor.Model.Friend obj = sender as global::FriendEditor.Model.Friend;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                        }
                        else
                        {
                            switch (propName)
                            {
                            default:
                                break;
                            }
                        }
                    }
                }
コード例 #27
0
                public void PropertyChanged_editors(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    MainPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::System.Collections.ObjectModel.ObservableCollection <global::UnoEditor.Shared.Views.Editor.texteditor> obj = sender as global::System.Collections.ObjectModel.ObservableCollection <global::UnoEditor.Shared.Views.Editor.texteditor>;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                        }
                        else
                        {
                            switch (propName)
                            {
                            default:
                                break;
                            }
                        }
                    }
                }
コード例 #28
0
                public void PropertyChanged_ViewModel_EventData(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    MainPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::System.Collections.ObjectModel.ObservableCollection <global::TelerikChartTest.Models.ChartEvent> obj = sender as global::System.Collections.ObjectModel.ObservableCollection <global::TelerikChartTest.Models.ChartEvent>;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                        }
                        else
                        {
                            switch (propName)
                            {
                            default:
                                break;
                            }
                        }
                    }
                }
コード例 #29
0
ファイル: MainPage.g.cs プロジェクト: varshaauti27/WPF
                public void PropertyChanged_ViewModel_Customers(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    MainPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::System.Collections.ObjectModel.ObservableCollection <global::WiredBrainCoffee.CustomersApp.Model.Customer> obj = sender as global::System.Collections.ObjectModel.ObservableCollection <global::WiredBrainCoffee.CustomersApp.Model.Customer>;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                        }
                        else
                        {
                            switch (propName)
                            {
                            default:
                                break;
                            }
                        }
                    }
                }
コード例 #30
0
                public void PropertyChanged_matrixList(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    MainPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::System.Collections.ObjectModel.ObservableCollection <global::Macierze_v2.MatrixElement> obj = sender as global::System.Collections.ObjectModel.ObservableCollection <global::Macierze_v2.MatrixElement>;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                        }
                        else
                        {
                            switch (propName)
                            {
                            default:
                                break;
                            }
                        }
                    }
                }
コード例 #31
0
ファイル: MainPage.g.cs プロジェクト: Adaok/Windows10Sample
 public void Connect(int connectionId, object target)
 {
     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(this);
         this._bindings = bindings;
         this.Bindings = bindings;
         element1.Loading += bindings.Loading;
         }
         break;
     case 2:
         this.Min = (global::Windows.UI.Xaml.VisualState)(target);
         break;
     case 3:
         this.Moy = (global::Windows.UI.Xaml.VisualState)(target);
         break;
     case 4:
         this.Max = (global::Windows.UI.Xaml.VisualState)(target);
         break;
     case 5:
         this.FlipViewImages = (global::Windows.UI.Xaml.Controls.FlipView)(target);
         break;
     case 6:
         this.GridAlbums = (global::Windows.UI.Xaml.Controls.GridView)(target);
         ((MainPage_obj1_Bindings)_bindings).obj6 = this.GridAlbums;
         break;
     case 7:
         this.UAPImage = (global::Windows.UI.Xaml.Controls.Image)(target);
         break;
     case 8:
         this.TxtOne = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
         break;
     case 9:
         this.HLinkOne = (global::Windows.UI.Xaml.Controls.HyperlinkButton)(target);
         break;
     case 10:
         this.XboxMusicImage = (global::Windows.UI.Xaml.Controls.Image)(target);
         break;
     }
     this._contentLoaded = true;
 }
コード例 #32
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;
     }
     return returnValue;
 }
コード例 #33
0
ファイル: MainPage.g.cs プロジェクト: miskohut/People
 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 8:
         {
             global::Windows.UI.Xaml.Controls.TextBlock element8 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
             MainPage_obj8_Bindings bindings = new MainPage_obj8_Bindings();
             returnValue = bindings;
             bindings.SetDataRoot((global::People.Backend.GroupingItem) element8.DataContext);
             element8.DataContextChanged += bindings.DataContextChangedHandler;
             global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element8, bindings);
         }
         break;
     }
     return returnValue;
 }
コード例 #34
0
ファイル: MainPage.g.cs プロジェクト: nhansky/TripPlanner
 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 7:
         {
             global::Windows.UI.Xaml.Controls.StackPanel element7 = (global::Windows.UI.Xaml.Controls.StackPanel)target;
             MainPage_obj7_Bindings bindings = new MainPage_obj7_Bindings();
             returnValue = bindings;
             bindings.SetDataRoot((global::TripPlanner.Classes.Plans) element7.DataContext);
             element7.DataContextChanged += bindings.DataContextChangedHandler;
             global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element7, bindings);
         }
         break;
     }
     return returnValue;
 }
コード例 #35
0
ファイル: MainPage.g.cs プロジェクト: wowinter13/maPanic
 public MainPage_obj1_BindingsTracking(MainPage_obj1_Bindings obj)
 {
     WeakRefToBindingObj = new global::System.WeakReference<MainPage_obj1_Bindings>(obj);
 }
コード例 #36
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((global::HeartbeatFg.DeviceViewModel) element1.DataContext);
             element1.DataContextChanged += bindings.DataContextChangedHandler;
             global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element1, bindings);
         }
         break;
     }
     return returnValue;
 }