public void UpdateChildListeners_(global::HowToBBQ.Win10.Views.Busy obj)
 {
     Busy_obj1_Bindings bindings;
     if(WeakRefToBindingObj.TryGetTarget(out bindings))
     {
         if (bindings.dataRoot != null)
         {
             bindings.dataRoot.UnregisterPropertyChangedCallback(global::HowToBBQ.Win10.Views.Busy.IsBusyProperty, tokenDPC_IsBusy);
             bindings.dataRoot.UnregisterPropertyChangedCallback(global::HowToBBQ.Win10.Views.Busy.BusyTextProperty, tokenDPC_BusyText);
         }
         if (obj != null)
         {
             bindings.dataRoot = obj;
             tokenDPC_IsBusy = obj.RegisterPropertyChangedCallback(global::HowToBBQ.Win10.Views.Busy.IsBusyProperty, DependencyPropertyChanged_IsBusy);
             tokenDPC_BusyText = obj.RegisterPropertyChangedCallback(global::HowToBBQ.Win10.Views.Busy.BusyTextProperty, DependencyPropertyChanged_BusyText);
         }
     }
 }
 public void UpdateChildListeners_(global::SpartaHack.PullToRefresh obj)
 {
     PullToRefresh_obj1_Bindings bindings;
     if(WeakRefToBindingObj.TryGetTarget(out bindings))
     {
         if (bindings.dataRoot != null)
         {
             bindings.dataRoot.UnregisterPropertyChangedCallback(global::SpartaHack.PullToRefresh.TextStyleProperty, tokenDPC_TextStyle);
             bindings.dataRoot.UnregisterPropertyChangedCallback(global::SpartaHack.PullToRefresh.SymbolStyleProperty, tokenDPC_SymbolStyle);
         }
         if (obj != null)
         {
             bindings.dataRoot = obj;
             tokenDPC_TextStyle = obj.RegisterPropertyChangedCallback(global::SpartaHack.PullToRefresh.TextStyleProperty, DependencyPropertyChanged_TextStyle);
             tokenDPC_SymbolStyle = obj.RegisterPropertyChangedCallback(global::SpartaHack.PullToRefresh.SymbolStyleProperty, DependencyPropertyChanged_SymbolStyle);
         }
     }
 }
Example #3
0
 public void UpdateChildListeners_(global::Sample.Views.MainPage obj)
 {
     MainPage_obj1_Bindings bindings;
     if(WeakRefToBindingObj.TryGetTarget(out bindings))
     {
         if (bindings.dataRoot != null)
         {
             bindings.dataRoot.UnregisterPropertyChangedCallback(global::Sample.Views.MainPage.FrameProperty, tokenDPC_Frame);
         }
         if (obj != null)
         {
             bindings.dataRoot = obj;
             tokenDPC_Frame = obj.RegisterPropertyChangedCallback(global::Sample.Views.MainPage.FrameProperty, DependencyPropertyChanged_Frame);
         }
     }
 }
 public void UpdateChildListeners_Sl(global::Windows.UI.Xaml.Controls.Slider obj)
 {
     if (obj != cache_Sl)
     {
         if (cache_Sl != null)
         {
             cache_Sl.UnregisterPropertyChangedCallback(global::Windows.UI.Xaml.Controls.Slider.ValueProperty, tokenDPC_Sl_Value);
             cache_Sl = null;
         }
         if (obj != null)
         {
             cache_Sl = obj;
             tokenDPC_Sl_Value = obj.RegisterPropertyChangedCallback(global::Windows.UI.Xaml.Controls.Slider.ValueProperty, DependencyPropertyChanged_Sl_Value);
         }
     }
 }
 public void UpdateChildListeners_(global::UnitSocial.Layouts.Detail.TextDetailLayout obj)
 {
     TextDetailLayout_obj1_Bindings bindings;
     if(WeakRefToBindingObj.TryGetTarget(out bindings))
     {
         if (bindings.dataRoot != null)
         {
             ((global::System.ComponentModel.INotifyPropertyChanged)bindings.dataRoot).PropertyChanged -= PropertyChanged_;
             bindings.dataRoot.UnregisterPropertyChangedCallback(global::UnitSocial.Layouts.Detail.TextDetailLayout.ViewModelProperty, tokenDPC_ViewModel);
         }
         if (obj != null)
         {
             bindings.dataRoot = obj;
             ((global::System.ComponentModel.INotifyPropertyChanged)obj).PropertyChanged += PropertyChanged_;
             tokenDPC_ViewModel = obj.RegisterPropertyChangedCallback(global::UnitSocial.Layouts.Detail.TextDetailLayout.ViewModelProperty, DependencyPropertyChanged_ViewModel);
         }
     }
 }
Example #6
0
 public void UpdateChildListeners_(global::JeSuiSCatholic.Confession obj)
 {
     Confession_obj1_Bindings bindings;
     if(WeakRefToBindingObj.TryGetTarget(out bindings))
     {
         if (bindings.dataRoot != null)
         {
             bindings.dataRoot.UnregisterPropertyChangedCallback(global::JeSuiSCatholic.Confession.DesiredHubSectionWidthProperty, tokenDPC_DesiredHubSectionWidth);
         }
         if (obj != null)
         {
             bindings.dataRoot = obj;
             tokenDPC_DesiredHubSectionWidth = obj.RegisterPropertyChangedCallback(global::JeSuiSCatholic.Confession.DesiredHubSectionWidthProperty, DependencyPropertyChanged_DesiredHubSectionWidth);
         }
     }
 }