예제 #1
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::JeSuiSCatholic.Confession obj, int phase)
 {
     this.bindingsTracking.UpdateChildListeners_(obj);
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0)
         {
             this.Update_DesiredHubSectionWidth(obj.DesiredHubSectionWidth, phase);
         }
     }
 }
예제 #2
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);
                        }
                    }
                }
예제 #3
0
                public void DependencyPropertyChanged_DesiredHubSectionWidth(global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop)
                {
                    Confession_obj1_Bindings bindings;

                    if (WeakRefToBindingObj.TryGetTarget(out bindings))
                    {
                        global::JeSuiSCatholic.Confession obj = sender as global::JeSuiSCatholic.Confession;
                        if (obj != null)
                        {
                            bindings.Update_DesiredHubSectionWidth(obj.DesiredHubSectionWidth, DATA_CHANGED);
                        }
                    }
                    else
                    {
                        ReleaseAllListeners();
                    }
                }
예제 #4
0
            // Confession_obj1_Bindings

            public void SetDataRoot(global::JeSuiSCatholic.Confession newDataRoot)
            {
                this.bindingsTracking.ReleaseAllListeners();
                this.dataRoot = newDataRoot;
            }
예제 #5
0
            // Confession_obj1_Bindings

            public void SetDataRoot(global::JeSuiSCatholic.Confession newDataRoot)
            {
                this.bindingsTracking.ReleaseAllListeners();
                this.dataRoot = newDataRoot;
            }