Esempio n. 1
0
                public void DependencyPropertyChanged_IsBusy(global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop)
                {
                    Busy_obj1_Bindings bindings;

                    if (WeakRefToBindingObj.TryGetTarget(out bindings))
                    {
                        global::Whistregnskab_UWP.Views.Busy obj = sender as global::Whistregnskab_UWP.Views.Busy;
                        if (obj != null)
                        {
                            bindings.Update_IsBusy(obj.IsBusy, DATA_CHANGED);
                        }
                    }
                }
Esempio n. 2
0
                public void UpdateChildListeners_(global::Whistregnskab_UWP.Views.Busy obj)
                {
                    Busy_obj1_Bindings bindings;

                    if (WeakRefToBindingObj.TryGetTarget(out bindings))
                    {
                        if (bindings.dataRoot != null)
                        {
                            bindings.dataRoot.UnregisterPropertyChangedCallback(global::Whistregnskab_UWP.Views.Busy.IsBusyProperty, tokenDPC_IsBusy);
                            bindings.dataRoot.UnregisterPropertyChangedCallback(global::Whistregnskab_UWP.Views.Busy.BusyTextProperty, tokenDPC_BusyText);
                        }
                        if (obj != null)
                        {
                            bindings.dataRoot = obj;
                            tokenDPC_IsBusy   = obj.RegisterPropertyChangedCallback(global::Whistregnskab_UWP.Views.Busy.IsBusyProperty, DependencyPropertyChanged_IsBusy);
                            tokenDPC_BusyText = obj.RegisterPropertyChangedCallback(global::Whistregnskab_UWP.Views.Busy.BusyTextProperty, DependencyPropertyChanged_BusyText);
                        }
                    }
                }
Esempio n. 3
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::Whistregnskab_UWP.Views.Busy obj, int phase)
 {
     this.bindingsTracking.UpdateChildListeners_(obj);
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0)
         {
             this.Update_IsBusy(obj.IsBusy, phase);
             this.Update_BusyText(obj.BusyText, phase);
         }
     }
     else
     {
         if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0)
         {
             this.UpdateFallback_BusyText(phase);
         }
     }
 }
Esempio n. 4
0
            // Busy_obj1_Bindings

            public void SetDataRoot(global::Whistregnskab_UWP.Views.Busy newDataRoot)
            {
                this.bindingsTracking.ReleaseAllListeners();
                this.dataRoot = newDataRoot;
            }