Hello,
Welcome to Microsoft Q&A!
How to get the Storyboard position?
Storyboard has no such progress event to report progress value real time. However, it has GetCurrentTime
method to get current animation time span. for example, if the duration of animation is 3s and the return value GetCurrentTime
method is 1.5s, it means the animation progress is 50%. Unfortunately, it is not real time. you need call the method base on your design such as use a time to report value regularly.
var timespan = DownAnimiationStoryboard.GetCurrentTime();
Thank you.
Nico Zhu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.