Ejemplo n.º 1
0
Archivo: Busy.g.cs Proyecto: sorryb/UWP
                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::CalculatorWindowsApp.Views.Busy obj = sender as global::CalculatorWindowsApp.Views.Busy;
                        if (obj != null)
                        {
                            bindings.Update_IsBusy(obj.IsBusy, DATA_CHANGED);
                        }
                    }
                }
Ejemplo n.º 2
0
Archivo: Busy.g.cs Proyecto: sorryb/UWP
                public void UpdateChildListeners_(global::CalculatorWindowsApp.Views.Busy obj)
                {
                    Busy_obj1_Bindings bindings;

                    if (WeakRefToBindingObj.TryGetTarget(out bindings))
                    {
                        if (bindings.dataRoot != null)
                        {
                            bindings.dataRoot.UnregisterPropertyChangedCallback(global::CalculatorWindowsApp.Views.Busy.IsBusyProperty, tokenDPC_IsBusy);
                            bindings.dataRoot.UnregisterPropertyChangedCallback(global::CalculatorWindowsApp.Views.Busy.BusyTextProperty, tokenDPC_BusyText);
                        }
                        if (obj != null)
                        {
                            bindings.dataRoot = obj;
                            tokenDPC_IsBusy   = obj.RegisterPropertyChangedCallback(global::CalculatorWindowsApp.Views.Busy.IsBusyProperty, DependencyPropertyChanged_IsBusy);
                            tokenDPC_BusyText = obj.RegisterPropertyChangedCallback(global::CalculatorWindowsApp.Views.Busy.BusyTextProperty, DependencyPropertyChanged_BusyText);
                        }
                    }
                }
Ejemplo n.º 3
0
Archivo: Busy.g.cs Proyecto: sorryb/UWP
 // Update methods for each path node used in binding steps.
 private void Update_(global::CalculatorWindowsApp.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);
         }
     }
 }
Ejemplo n.º 4
0
Archivo: Busy.g.cs Proyecto: sorryb/UWP
            // Busy_obj1_Bindings

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