private void ConnectToProperty()
 {
     if (this.listenToChanges && this.source != null)
     {
         this.propertyChangedListener = WeakDependencyPropertyChangedListener.CreateIfNecessary(this.source, false, this);
     }
 }
 internal override void Disconnect()
 {
     if (this.propertyChangedListener != null)
     {
         this.propertyChangedListener.Disconnect();
     }
     this.value  = DependencyProperty.UnsetValue;
     this.source = null;
     this.propertyChangedListener = null;
 }
 internal override void Disconnect()
 {
     if (this.propertyChangedListener != null)
     {
         this.propertyChangedListener.Disconnect();
     }
     this.value = DependencyProperty.UnsetValue;
     this.source = null;
     this.propertyChangedListener = null;
 }
 private void ConnectToProperty()
 {
     if (this.listenToChanges && this.source != null)
     {
         this.propertyChangedListener = WeakDependencyPropertyChangedListener.CreateIfNecessary(this.source, false, this);
     }
 }