Storyboard.GetCurrentTime Method


Gets the current animation clock time of the Storyboard.

Equivalent WinUI method: Microsoft.UI.Xaml.Media.Animation.Storyboard.GetCurrentTime.

 virtual TimeSpan GetCurrentTime() = GetCurrentTime;
TimeSpan GetCurrentTime();
public System.TimeSpan GetCurrentTime();
function getCurrentTime()
Public Function GetCurrentTime () As TimeSpan


TimeSpan TimeSpan

The current animation time of the Storyboard per the running animation clock, or null if the animation clock is Stopped.

Applies to

See also