public bool SetDataRoot(global::System.Object newDataRoot)
 {
     this.bindingsTracking.ReleaseAllListeners();
     if (newDataRoot != null)
     {
         this.dataRoot = (global::projectHerbariumMgmtIS.Dialogs.GenusForm)newDataRoot;
         return(true);
     }
     return(false);
 }
 // Update methods for each path node used in binding steps.
 private void Update_(global::projectHerbariumMgmtIS.Dialogs.GenusForm 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_GenusData(obj.GenusData, phase);
         }
     }
 }
                public void DependencyPropertyChanged_GenusData(global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop)
                {
                    GenusForm_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        global::projectHerbariumMgmtIS.Dialogs.GenusForm obj = sender as global::projectHerbariumMgmtIS.Dialogs.GenusForm;
                        if (obj != null)
                        {
                            bindings.Update_GenusData(obj.GenusData, DATA_CHANGED);
                        }
                    }
                }
                public void UpdateChildListeners_(global::projectHerbariumMgmtIS.Dialogs.GenusForm obj)
                {
                    GenusForm_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        if (bindings.dataRoot != null)
                        {
                            bindings.dataRoot.UnregisterPropertyChangedCallback(global::projectHerbariumMgmtIS.Dialogs.GenusForm.TransactionFormProperty, tokenDPC_TransactionForm);
                            bindings.dataRoot.UnregisterPropertyChangedCallback(global::projectHerbariumMgmtIS.Dialogs.GenusForm.GenusDataProperty, tokenDPC_GenusData);
                        }
                        if (obj != null)
                        {
                            bindings.dataRoot        = obj;
                            tokenDPC_TransactionForm = obj.RegisterPropertyChangedCallback(global::projectHerbariumMgmtIS.Dialogs.GenusForm.TransactionFormProperty, DependencyPropertyChanged_TransactionForm);
                            tokenDPC_GenusData       = obj.RegisterPropertyChangedCallback(global::projectHerbariumMgmtIS.Dialogs.GenusForm.GenusDataProperty, DependencyPropertyChanged_GenusData);
                        }
                    }
                }