Пример #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::Ioespt.UWP.DeviceControl.Views.Busy obj = sender as global::Ioespt.UWP.DeviceControl.Views.Busy;
                        if (obj != null)
                        {
                            bindings.Update_IsBusy(obj.IsBusy, DATA_CHANGED);
                        }
                    }
                }
Пример #2
0
                public void UpdateChildListeners_(global::Ioespt.UWP.DeviceControl.Views.Busy obj)
                {
                    Busy_obj1_Bindings bindings;

                    if (WeakRefToBindingObj.TryGetTarget(out bindings))
                    {
                        if (bindings.dataRoot != null)
                        {
                            bindings.dataRoot.UnregisterPropertyChangedCallback(global::Ioespt.UWP.DeviceControl.Views.Busy.IsBusyProperty, tokenDPC_IsBusy);
                            bindings.dataRoot.UnregisterPropertyChangedCallback(global::Ioespt.UWP.DeviceControl.Views.Busy.BusyTextProperty, tokenDPC_BusyText);
                        }
                        if (obj != null)
                        {
                            bindings.dataRoot = obj;
                            tokenDPC_IsBusy   = obj.RegisterPropertyChangedCallback(global::Ioespt.UWP.DeviceControl.Views.Busy.IsBusyProperty, DependencyPropertyChanged_IsBusy);
                            tokenDPC_BusyText = obj.RegisterPropertyChangedCallback(global::Ioespt.UWP.DeviceControl.Views.Busy.BusyTextProperty, DependencyPropertyChanged_BusyText);
                        }
                    }
                }
Пример #3
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::Ioespt.UWP.DeviceControl.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);
         }
     }
 }
Пример #4
0
            // Busy_obj1_Bindings

            public void SetDataRoot(global::Ioespt.UWP.DeviceControl.Views.Busy newDataRoot)
            {
                this.bindingsTracking.ReleaseAllListeners();
                this.dataRoot = newDataRoot;
            }
Пример #5
0
            // Busy_obj1_Bindings

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