Пример #1
0
                public void UpdateChildListeners_(global::Bno1.Controls.TitlePathControl obj)
                {
                    TitlePathControl_obj1_Bindings bindings;

                    if (WeakRefToBindingObj.TryGetTarget(out bindings))
                    {
                        if (bindings.dataRoot != null)
                        {
                            bindings.dataRoot.UnregisterPropertyChangedCallback(global::Bno1.Controls.TitlePathControl.TitlePathProperty, tokenDPC_TitlePath);
                        }
                        if (obj != null)
                        {
                            bindings.dataRoot  = obj;
                            tokenDPC_TitlePath = obj.RegisterPropertyChangedCallback(global::Bno1.Controls.TitlePathControl.TitlePathProperty, DependencyPropertyChanged_TitlePath);
                        }
                    }
                }