Let’s focused on the coercion of DP value.
In the precedence list, the coercion source is the highest.
In order to verify it, I have created a class called CoercionButton.
It overrides the Metadata of WidthProperty and adds CoerceValueCallback. And in the callback, returns a constant value 150.0.
We change the “Target Button” from normal Button type to CoercionButton type.
But the event handler for other 4 buttons remain some.
No matter which button you clicks, the Width of “Target Button” is always 150.
And the animation doesn’t work.