public void CollectionChanged_SectionControlSource(object sender, global::System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
                {
                    GenericControl_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        global::System.Collections.ObjectModel.ObservableCollection <global::TestConsoleDead.Shared.Models.CreateSubSectionModel> obj = sender as global::System.Collections.ObjectModel.ObservableCollection <global::TestConsoleDead.Shared.Models.CreateSubSectionModel>;
                    }
                }
                public void DependencyPropertyChanged_SectionControlSource(global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop)
                {
                    GenericControl_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        global::TestConsoleDead.Shared.GenericControl obj = sender as global::TestConsoleDead.Shared.GenericControl;
                        if (obj != null)
                        {
                            bindings.Update_SectionControlSource(obj.SectionControlSource, DATA_CHANGED);
                        }
                    }
                }
                public GenericControl_obj1_Bindings TryGetBindingObject()
                {
                    GenericControl_obj1_Bindings bindingObject = null;

                    if (weakRefToBindingObj != null)
                    {
                        weakRefToBindingObj.TryGetTarget(out bindingObject);
                        if (bindingObject == null)
                        {
                            weakRefToBindingObj = null;
                            ReleaseAllListeners();
                        }
                    }
                    return(bindingObject);
                }
                public void UpdateChildListeners_(global::TestConsoleDead.Shared.GenericControl obj)
                {
                    GenericControl_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        if (bindings.dataRoot != null)
                        {
                            bindings.dataRoot.UnregisterPropertyChangedCallback(global::TestConsoleDead.Shared.GenericControl.SectionControlSourceProperty, tokenDPC_SectionControlSource);
                        }
                        if (obj != null)
                        {
                            bindings.dataRoot             = obj;
                            tokenDPC_SectionControlSource = obj.RegisterPropertyChangedCallback(global::TestConsoleDead.Shared.GenericControl.SectionControlSourceProperty, DependencyPropertyChanged_SectionControlSource);
                        }
                    }
                }
 public global::Windows.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target)
 {
     global::Windows.UI.Xaml.Markup.IComponentConnector returnValue = null;
     switch (connectionId)
     {
     case 1: // GenericControl.xaml line 1
     {
         global::Windows.UI.Xaml.Controls.UserControl element1 = (global::Windows.UI.Xaml.Controls.UserControl)target;
         GenericControl_obj1_Bindings bindings = new GenericControl_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);
 }
                public void PropertyChanged_SectionControlSource(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    GenericControl_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::System.Collections.ObjectModel.ObservableCollection <global::TestConsoleDead.Shared.Models.CreateSubSectionModel> obj = sender as global::System.Collections.ObjectModel.ObservableCollection <global::TestConsoleDead.Shared.Models.CreateSubSectionModel>;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                        }
                        else
                        {
                            switch (propName)
                            {
                            default:
                                break;
                            }
                        }
                    }
                }
 public GenericControl_obj1_BindingsTracking(GenericControl_obj1_Bindings obj)
 {
     weakRefToBindingObj = new global::System.WeakReference <GenericControl_obj1_Bindings>(obj);
 }