mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-08 23:43:29 +02:00
* Updated H2 and column headers. * Metadata update. * Minor edits. * Apply suggestions from code review Co-authored-by: Andy (Steve) De George <[email protected]>
1.5 KiB
1.5 KiB
title, description, ms.date, ms.custom, dev_langs, helpviewer_keywords, ms.assetid
| title | description | ms.date | ms.custom | dev_langs | helpviewer_keywords | ms.assetid | ||||
|---|---|---|---|---|---|---|---|---|---|---|
| How to: Seek a Storyboard Synchronously | Learn how to seek a Storyboard synchronously. | 03/30/2017 | devdivchpfy22 |
|
|
03e06271-a946-4810-88ea-3fb4cfa9e0f1 |
How to: Seek a Storyboard Synchronously
The following example shows how to use the xref:System.Windows.Media.Animation.Storyboard.SeekAlignedToLastTick%2A method of a xref:System.Windows.Media.Animation.Storyboard to seek to any position in a storyboard animation synchronously.
XAML markup
The following is the XAML markup for the sample.
[!code-xamlSeekStoryboard_snip#SeekStoryboardSynchronouslyExampleWholePage]
Code
The following is the code used with the XAML code above.
[!code-csharpSeekStoryboard_snip#SeekStoryboardSynchronouslyCodeBehindExampleWholePage] [!code-vbSeekStoryboard_snip#SeekStoryboardSynchronouslyCodeBehindExampleWholePage]