Storyboard.GetCurrentTime Method

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.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.