rendertransform

Applying animated ScaleTransform in code problem

Hi I am trying to find out why the code below does not seem to work. It does not give an error - it simply doesn't scale. It actually does seem to work if I change it as to my second code sample. Anyone got any idea? Thanks public static void StartMouseEnterAnimation(Button button) { Storyboard storyboard = new Storyboard(...

How do I use the rendertransform of a templated control in the controltemplate

In Silverlight 4: I'm converting a Usercontrol to a templated control. In my Usercontrol I had a RenderTransform <src:UserControlView.RenderTransform> <TransformGroup> <ScaleTransform/> <SkewTransform/> <RotateTransform/> <TranslateTransform X="-478" Y="-478"/> </TransformGroup> </src:UserControlV...

Removing the render transform of a child element

Ok, So I have a situation, where an border is being scaled (sometimes by a large amount) and translated. Inside the border is a grid, and inside the grid are two images, one is a photo and is stretched to the size of the border, and the other, I intend on being an icon, which needs to be a fixed size in the bottom left hand corner. Th...

WPF rotate animation

Hello, I'm working with WPF and I can't achieve an animation. I have a rectangle which rotates from x degree with a render transform origin from 0,0. I want this rectangle to rotates from y degrees with a render transform origin from 0,1 after 2 seconds. Of course I want to keep the rectangle position for the second animation. My prob...