>Hi,
>I've built a bool DependencyProperty (with the standard property wrapper) that implements inheritance.
>If I set the property wrapper to 'true' I want it to set this on the DependencyProperty
>But when I set it to 'false' I want to execute the .ClearValue() method instead.
>I know I can't do this in the wrapper, or in the ValidateValueCallback - but can I do it in the CoerceValueCallback?
>Or is there another way (maybe a wrapper for the wrapper?)
>
>Best,
>Viv
I've never actually used those functions... But so far in WPF when I can't do something like that from where I am, I can usually do it with a delegate.
If that won't work, maybe you could post a little code that shows what you are trying to do.