In WPF, how do I update the object that my custom property is bound to?
- by Timothy Khouri
I have a custom property that works perfectly, except when it's bound to an object.
The reason is that once the following code is executed:
base.SetValue(ValueProperty, value);
... then my control is no longer bound. I know this because calling:
base.GetBindingExpression(ValueProperty);
... returns the binding object perfectly - UNTIL I call base.SetValue. So my question is, how do I pass the new "value" on to the object that I'm bound to?