GetCurrentTime Method

Storyboard.GetCurrentTime Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the current time of the storyboard.

Namespace:  System.Windows.Media.Animation
Assembly:  System.Windows (in System.Windows.dll)

public TimeSpan GetCurrentTime()

Return Value

Type: System.TimeSpan
The current time of the storyboard, or null if the storyboard's clock is Stopped.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft