public bool SetDataRoot(global::System.Object newDataRoot)
 {
     this.bindingsTracking.ReleaseAllListeners();
     if (newDataRoot != null)
     {
         this.dataRoot = (global::projectHerbariumMgmtIS.Dialogs.NomenclatureForm)newDataRoot;
         return(true);
     }
     return(false);
 }
 // Update methods for each path node used in binding steps.
 private void Update_(global::projectHerbariumMgmtIS.Dialogs.NomenclatureForm obj, int phase)
 {
     this.bindingsTracking.UpdateChildListeners_(obj);
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0)
         {
             this.Update_TransactionForm(obj.TransactionForm, phase);
             this.Update_NomenclatureData(obj.NomenclatureData, phase);
         }
     }
 }
                public void DependencyPropertyChanged_NomenclatureData(global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop)
                {
                    NomenclatureForm_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        global::projectHerbariumMgmtIS.Dialogs.NomenclatureForm obj = sender as global::projectHerbariumMgmtIS.Dialogs.NomenclatureForm;
                        if (obj != null)
                        {
                            bindings.Update_NomenclatureData(obj.NomenclatureData, DATA_CHANGED);
                        }
                    }
                }
                public void UpdateChildListeners_(global::projectHerbariumMgmtIS.Dialogs.NomenclatureForm obj)
                {
                    NomenclatureForm_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        if (bindings.dataRoot != null)
                        {
                            bindings.dataRoot.UnregisterPropertyChangedCallback(global::projectHerbariumMgmtIS.Dialogs.NomenclatureForm.TransactionFormProperty, tokenDPC_TransactionForm);
                            bindings.dataRoot.UnregisterPropertyChangedCallback(global::projectHerbariumMgmtIS.Dialogs.NomenclatureForm.NomenclatureDataProperty, tokenDPC_NomenclatureData);
                        }
                        if (obj != null)
                        {
                            bindings.dataRoot         = obj;
                            tokenDPC_TransactionForm  = obj.RegisterPropertyChangedCallback(global::projectHerbariumMgmtIS.Dialogs.NomenclatureForm.TransactionFormProperty, DependencyPropertyChanged_TransactionForm);
                            tokenDPC_NomenclatureData = obj.RegisterPropertyChangedCallback(global::projectHerbariumMgmtIS.Dialogs.NomenclatureForm.NomenclatureDataProperty, DependencyPropertyChanged_NomenclatureData);
                        }
                    }
                }