Storyboard.GetCurrentTime Method

Definition

Gets the current animation clock time of the Storyboard.

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

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

Returns

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