For a DependencyProperty
, I set a value using DependencyObject.SetCurrentValue(property, value)
. How does one unset the value so that the property evaluates to the normal local value again?
Calling InvalidateProperty will force the value to be reevaluated, and it appears to ignore the "current" value, so it effectively will unset it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With