// Update methods for each path node used in binding steps. private void Update_(global::nanovaTest.CustomMethod.CustomMethodPage obj, int phase) { this.bindingsTracking.UpdateChildListeners_(obj); if (obj != null) { if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0) { this.Update_topDatas(obj.topDatas, phase); this.Update_bottomDatas(obj.bottomDatas, phase); this.Update_Value(obj.Value, phase); } } }
public void DependencyPropertyChanged_Value(global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop) { CustomMethodPage_obj1_Bindings bindings; if (WeakRefToBindingObj.TryGetTarget(out bindings)) { global::nanovaTest.CustomMethod.CustomMethodPage obj = sender as global::nanovaTest.CustomMethod.CustomMethodPage; if (obj != null) { bindings.Update_Value(obj.Value, DATA_CHANGED); } } }
public void UpdateChildListeners_(global::nanovaTest.CustomMethod.CustomMethodPage obj) { CustomMethodPage_obj1_Bindings bindings; if (WeakRefToBindingObj.TryGetTarget(out bindings)) { if (bindings.dataRoot != null) { bindings.dataRoot.UnregisterPropertyChangedCallback(global::nanovaTest.CustomMethod.CustomMethodPage.ValueProperty, tokenDPC_Value); } if (obj != null) { bindings.dataRoot = obj; tokenDPC_Value = obj.RegisterPropertyChangedCallback(global::nanovaTest.CustomMethod.CustomMethodPage.ValueProperty, DependencyPropertyChanged_Value); } } }
// CustomMethodPage_obj1_Bindings public void SetDataRoot(global::nanovaTest.CustomMethod.CustomMethodPage newDataRoot) { this.bindingsTracking.ReleaseAllListeners(); this.dataRoot = newDataRoot; }