How to animate CornerRadius property with four distinct values - "0,0,0,0" to "0,0,10,10" ?

Posted by banzai on Stack Overflow See other posts from Stack Overflow or by banzai
Published on 2010-03-23T13:58:33Z Indexed on 2010/03/23 16:33 UTC
Read the original article Hit count: 467

Filed under:
|

Hi all

I have to transition the CornerRadius property of a Border from value "0,0,0,0" to value "0,0,10,10" via an animation. This must be done directly in the XAML file w/o using code behind other than a ValueConverter or similar.

I think CornerRadius is animatable using an ObjectAnimationUsingKeyFrames - but how to animate just two of the four values of the CornerRadius structure ?

Thanks in advance !

© Stack Overflow or respective owner

Related posts about xaml

Related posts about wpf