mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-04 09:06:04 +02:00
* Reset branch for WPF changes * Convert BMP to PNG; fix link-out-of-scope err * Add snippets for WPF... 6794 files!!!! * Add missing snippets * update file updated between migration * Fix paths to include * update breadcrumb and toc * fix index links * fix index links * fix index links * fix markdown
1.4 KiB
1.4 KiB
title, ms.date, dev_langs, helpviewer_keywords, ms.assetid
| title | ms.date | dev_langs | helpviewer_keywords | ms.assetid | ||||
|---|---|---|---|---|---|---|---|---|
| How to: Seek a Storyboard Synchronously | 03/30/2017 |
|
|
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.
Example
The following is the XAML markup for the sample.
[!code-xamlSeekStoryboard_snip#SeekStoryboardSynchronouslyExampleWholePage]
Example
The following is the code used with the XAML code above.
[!code-csharpSeekStoryboard_snip#SeekStoryboardSynchronouslyCodeBehindExampleWholePage] [!code-vbSeekStoryboard_snip#SeekStoryboardSynchronouslyCodeBehindExampleWholePage]