Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Storyboard with RotateTransform

$
0
0

Hi everyone,

I'm now making a small application which displays a Mini Clock to window screen when windows starts. Everything has worked fine .

But currently, I want to implement an rotation animation for my clock . My clock will rotate around a specific point on the screen . I know RotateTransform can help me to do this. But how can I add RotateTransform to my Storyboard , because it has 3 parameters CenterX, CenterY and Angle. CenterX and CenterY don't change through time, but Angle does .

Can anyone help me to solve this problem in both XAML and C# Code ?
Thank you , 


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>