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;
                HomePage_obj1_Bindings bindings = new HomePage_obj1_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(this);
                this.Bindings     = bindings;
                element1.Loading += bindings.Loading;
            }
            break;

            case 15:
            {
                global::Windows.UI.Xaml.Controls.StackPanel element15 = (global::Windows.UI.Xaml.Controls.StackPanel)target;
                HomePage_obj15_Bindings bindings = new HomePage_obj15_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::ALWallet.Model.Account)element15.DataContext);
                bindings.SetConverterLookupRoot(this);
                element15.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element15, bindings);
            }
            break;
            }
            return(returnValue);
        }
        public global::Windows.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target)
        {
            global::Windows.UI.Xaml.Markup.IComponentConnector returnValue = null;
            switch (connectionId)
            {
            case 1: // Views\HomePage.xaml line 1
            {
                global::Windows.UI.Xaml.Controls.Page element1 = (global::Windows.UI.Xaml.Controls.Page)target;
                HomePage_obj1_Bindings bindings = new HomePage_obj1_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(this);
                this.Bindings     = bindings;
                element1.Loading += bindings.Loading;
            }
            break;

            case 23: // Views\HomePage.xaml line 118
            {
                global::Windows.UI.Xaml.Controls.TextBlock element23 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                HomePage_obj23_Bindings bindings = new HomePage_obj23_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element23.DataContext);
                element23.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element23, bindings);
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element23, bindings);
            }
            break;
            }
            return(returnValue);
        }
Exemple #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;
                HomePage_obj1_Bindings bindings = new HomePage_obj1_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(this);
                this.Bindings     = bindings;
                element1.Loading += bindings.Loading;
            }
            break;

            case 4:
            {
                global::Windows.UI.Xaml.Controls.Grid element4 = (global::Windows.UI.Xaml.Controls.Grid)target;
                HomePage_obj4_Bindings bindings = new HomePage_obj4_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::CNBlogs.UWP.Models.CNBlog)element4.DataContext);
                element4.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element4, bindings);
            }
            break;
            }
            return(returnValue);
        }
                public void CollectionChanged_ViewModel_ProjectsList(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
                {
                    HomePage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        global::System.Collections.ObjectModel.ObservableCollection <global::AnalysisOfTranslationErrors.Models.RecentProject> obj = sender as global::System.Collections.ObjectModel.ObservableCollection <global::AnalysisOfTranslationErrors.Models.RecentProject>;
                    }
                }
Exemple #5
0
                public void CollectionChanged_testSong(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
                {
                    HomePage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        global::System.Collections.ObjectModel.ObservableCollection <global::SlowVMusic.Entity.Song> obj = sender as global::System.Collections.ObjectModel.ObservableCollection <global::SlowVMusic.Entity.Song>;
                    }
                }
Exemple #6
0
                public void CollectionChanged_ViewModel_Locations(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
                {
                    HomePage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        global::System.Collections.ObjectModel.ObservableCollection <global::FishNTrips.Model.Location> obj = sender as global::System.Collections.ObjectModel.ObservableCollection <global::FishNTrips.Model.Location>;
                    }
                }
Exemple #7
0
                public void PropertyChanged_ViewModel(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    HomePage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::FishNTrips.Uwp.ViewModels.HomeViewModel obj = sender as global::FishNTrips.Uwp.ViewModels.HomeViewModel;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                            if (obj != null)
                            {
                                bindings.Update_ViewModel_newPassword(obj.newPassword, DATA_CHANGED);
                                bindings.Update_ViewModel_locationName(obj.locationName, DATA_CHANGED);
                                bindings.Update_ViewModel_Locations(obj.Locations, DATA_CHANGED);
                            }
                        }
                        else
                        {
                            switch (propName)
                            {
                            case "newPassword":
                            {
                                if (obj != null)
                                {
                                    bindings.Update_ViewModel_newPassword(obj.newPassword, DATA_CHANGED);
                                }
                                break;
                            }

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

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

                            default:
                                break;
                            }
                        }
                    }
                }
                public HomePage_obj1_Bindings TryGetBindingObject()
                {
                    HomePage_obj1_Bindings bindingObject = null;

                    if (weakRefToBindingObj != null)
                    {
                        weakRefToBindingObj.TryGetTarget(out bindingObject);
                        if (bindingObject == null)
                        {
                            weakRefToBindingObj = null;
                            ReleaseAllListeners();
                        }
                    }
                    return(bindingObject);
                }
Exemple #9
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;
         HomePage_obj1_Bindings bindings = new HomePage_obj1_Bindings();
         returnValue = bindings;
         bindings.SetDataRoot(this);
         this.Bindings     = bindings;
         element1.Loading += bindings.Loading;
     }
     break;
     }
     return(returnValue);
 }
                public void PropertyChanged_ViewModel_ProjectsList(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    HomePage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::System.Collections.ObjectModel.ObservableCollection <global::AnalysisOfTranslationErrors.Models.RecentProject> obj = sender as global::System.Collections.ObjectModel.ObservableCollection <global::AnalysisOfTranslationErrors.Models.RecentProject>;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                        }
                        else
                        {
                            switch (propName)
                            {
                            default:
                                break;
                            }
                        }
                    }
                }
Exemple #11
0
                public void PropertyChanged_testSong(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    HomePage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::System.Collections.ObjectModel.ObservableCollection <global::SlowVMusic.Entity.Song> obj = sender as global::System.Collections.ObjectModel.ObservableCollection <global::SlowVMusic.Entity.Song>;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                        }
                        else
                        {
                            switch (propName)
                            {
                            default:
                                break;
                            }
                        }
                    }
                }
Exemple #12
0
                public void PropertyChanged_ViewModel_Locations(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    HomePage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::System.Collections.ObjectModel.ObservableCollection <global::FishNTrips.Model.Location> obj = sender as global::System.Collections.ObjectModel.ObservableCollection <global::FishNTrips.Model.Location>;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                        }
                        else
                        {
                            switch (propName)
                            {
                            default:
                                break;
                            }
                        }
                    }
                }
                public void PropertyChanged_ViewModel(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    HomePage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::AnalysisOfTranslationErrors.ViewModels.HomePageViewModel obj = sender as global::AnalysisOfTranslationErrors.ViewModels.HomePageViewModel;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                            if (obj != null)
                            {
                                bindings.Update_ViewModel_RefPath(obj.RefPath, DATA_CHANGED);
                                bindings.Update_ViewModel_SysPath(obj.SysPath, DATA_CHANGED);
                                bindings.Update_ViewModel_SrcPath(obj.SrcPath, DATA_CHANGED);
                                bindings.Update_ViewModel_ProjectsList(obj.ProjectsList, DATA_CHANGED);
                            }
                        }
                        else
                        {
                            switch (propName)
                            {
                            case "RefPath":
                            {
                                if (obj != null)
                                {
                                    bindings.Update_ViewModel_RefPath(obj.RefPath, DATA_CHANGED);
                                }
                                break;
                            }

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

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

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

                            default:
                                break;
                            }
                        }
                    }
                }
 public HomePage_obj1_BindingsTracking(HomePage_obj1_Bindings obj)
 {
     weakRefToBindingObj = new global::System.WeakReference <HomePage_obj1_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:
         {
             global::Windows.UI.Xaml.Controls.Page element1 = (global::Windows.UI.Xaml.Controls.Page)target;
             HomePage_obj1_Bindings bindings = new HomePage_obj1_Bindings();
             returnValue = bindings;
             bindings.SetDataRoot(this);
             this.Bindings = bindings;
             element1.Loading += bindings.Loading;
         }
         break;
     case 15:
         {
             global::Windows.UI.Xaml.Controls.StackPanel element15 = (global::Windows.UI.Xaml.Controls.StackPanel)target;
             HomePage_obj15_Bindings bindings = new HomePage_obj15_Bindings();
             returnValue = bindings;
             bindings.SetDataRoot((global::ALWallet.Model.Account) element15.DataContext);
             bindings.SetConverterLookupRoot(this);
             element15.DataContextChanged += bindings.DataContextChangedHandler;
             global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element15, bindings);
         }
         break;
     }
     return returnValue;
 }