Beispiel #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: // Views\CollectiveListPage.xaml line 1
            {
                global::Windows.UI.Xaml.Controls.Page element1 = (global::Windows.UI.Xaml.Controls.Page)target;
                CollectiveListPage_obj1_Bindings      bindings = new CollectiveListPage_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 3: // Views\CollectiveListPage.xaml line 13
            {
                global::Windows.UI.Xaml.Controls.Grid element3 = (global::Windows.UI.Xaml.Controls.Grid)target;
                CollectiveListPage_obj3_Bindings      bindings = new CollectiveListPage_obj3_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element3.DataContext);
                element3.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element3, bindings);
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element3, bindings);
            }
            break;
            }
            return(returnValue);
        }
Beispiel #2
0
                public void PropertyChanged_ViewModel(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    CollectiveListPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::WebUwp.ViewModels.DisplayDataViewModel obj = sender as global::WebUwp.ViewModels.DisplayDataViewModel;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                            if (obj != null)
                            {
                                bindings.Update_ViewModel_Collectives(obj.Collectives, DATA_CHANGED);
                            }
                        }
                        else
                        {
                            switch (propName)
                            {
                            case "Collectives":
                            {
                                if (obj != null)
                                {
                                    bindings.Update_ViewModel_Collectives(obj.Collectives, DATA_CHANGED);
                                }
                                break;
                            }

                            default:
                                break;
                            }
                        }
                    }
                }
Beispiel #3
0
                public void CollectionChanged_ViewModel_Collectives(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
                {
                    CollectiveListPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        global::System.Collections.ObjectModel.ObservableCollection <global::WebUwp.Core.Models.Collective> obj = sender as global::System.Collections.ObjectModel.ObservableCollection <global::WebUwp.Core.Models.Collective>;
                    }
                }
Beispiel #4
0
                public CollectiveListPage_obj1_Bindings TryGetBindingObject()
                {
                    CollectiveListPage_obj1_Bindings bindingObject = null;

                    if (weakRefToBindingObj != null)
                    {
                        weakRefToBindingObj.TryGetTarget(out bindingObject);
                        if (bindingObject == null)
                        {
                            weakRefToBindingObj = null;
                            ReleaseAllListeners();
                        }
                    }
                    return(bindingObject);
                }
Beispiel #5
0
                public void PropertyChanged_ViewModel_Collectives(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    CollectiveListPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::System.Collections.ObjectModel.ObservableCollection <global::WebUwp.Core.Models.Collective> obj = sender as global::System.Collections.ObjectModel.ObservableCollection <global::WebUwp.Core.Models.Collective>;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                        }
                        else
                        {
                            switch (propName)
                            {
                            default:
                                break;
                            }
                        }
                    }
                }
Beispiel #6
0
 public CollectiveListPage_obj1_BindingsTracking(CollectiveListPage_obj1_Bindings obj)
 {
     weakRefToBindingObj = new global::System.WeakReference <CollectiveListPage_obj1_Bindings>(obj);
 }