Files
docs-desktop/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-seek-a-storyboard.md
T
Pooja PoojariandAndy De George 692293bda8 US 1889327: Updated H2 and column headers. (#1326)
* Updated H2 and column headers.

* Metadata update.

* Minor edits.

* Apply suggestions from code review

Co-authored-by: Andy (Steve) De George <[email protected]>
2022-03-07 21:22:00 +00:00

1.4 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 Learn how to seek a Storyboard. 03/30/2017 devdivchpfy22
csharp
vb
Storyboards [WPF], seeking
seeking Storyboards [WPF]
887bb39a-0c2a-4ae8-956d-1d9f6f8ebbfc

How to: Seek a Storyboard

The following example shows how to use the xref:System.Windows.Media.Animation.Storyboard.Seek%2A method of a xref:System.Windows.Media.Animation.Storyboard to jump to any position in a storyboard animation.

Sample XAML markup

Below is the XAML markup for the sample.

[!code-xamlSeekStoryboard_snip#SeekStoryboardExampleWholePage]

Code

Below is the code used with the XAML code above.

[!code-csharpSeekStoryboard_snip#SeekStoryboardCodeBehindExampleWholePage] [!code-vbSeekStoryboard_snip#SeekStoryboardCodeBehindExampleWholePage]

See also