SeekAlignedToLastTick Method

Storyboard.SeekAlignedToLastTick Method

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

Moves the storyboard to the specified animation position immediately (synchronously).

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

public void SeekAlignedToLastTick(
	TimeSpan offset


Type: System.TimeSpan
A positive or negative time value that describes the amount by which the timeline should move forward or backward from the beginning of the animation. By using the TimeSpan Parse behavior, a TimeSpan can be specified as a string in the following format (in this syntax, the [] characters denote optional components of the string, but the quotes, colons, and periods are all a literal part of the syntax):
- or -

This method aligns the seek time of the Storyboard with the last clock tick. Values are immediately updated to reflect the changes due to SeekAlignedToLastTick, even though the screen does not reflect these changes until the screen is updated.

The behavior for this method is the same as Seek when calling after or before Begin is called.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2016 Microsoft