Image rotation as animation
问题 I am making a Windows 8 application in visual studio 2012 c#. I am having an image '1.png' and I want to rotate it at any angle as an animation along its center point. But i want to do it with the help of c# code rather than XAML code. Thank You in Advance. 回答1: In your XAML, have the following image: <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}"> <Image Source="/Assets/Logo.png" Width="300" RenderTransformOrigin="0.5, 0.5"> <Image.RenderTransform> <RotateTransform x