mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-09 16:06:09 +02:00
Initial WPF content migrated (#17)
* 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
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
---
|
||||
title: "How to: Seek a Storyboard"
|
||||
ms.date: "03/30/2017"
|
||||
dev_langs:
|
||||
- "csharp"
|
||||
- "vb"
|
||||
helpviewer_keywords:
|
||||
- "Storyboards [WPF], seeking"
|
||||
- "seeking Storyboards [WPF]"
|
||||
ms.assetid: 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.
|
||||
|
||||
## Example
|
||||
Below is the XAML markup for the sample.
|
||||
|
||||
[!code-xaml[SeekStoryboard_snip#SeekStoryboardExampleWholePage](~/samples/snippets/csharp/VS_Snippets_Wpf/SeekStoryboard_snip/CSharp/SeekStoryboardExample.xaml#seekstoryboardexamplewholepage)]
|
||||
|
||||
## Example
|
||||
Below is the code used with the XAML code above.
|
||||
|
||||
[!code-csharp[SeekStoryboard_snip#SeekStoryboardCodeBehindExampleWholePage](~/samples/snippets/csharp/VS_Snippets_Wpf/SeekStoryboard_snip/CSharp/SeekStoryboardExample.xaml.cs#seekstoryboardcodebehindexamplewholepage)]
|
||||
[!code-vb[SeekStoryboard_snip#SeekStoryboardCodeBehindExampleWholePage](~/samples/snippets/visualbasic/VS_Snippets_Wpf/SeekStoryboard_snip/VisualBasic/SeekStoryboardExample.xaml.vb#seekstoryboardcodebehindexamplewholepage)]
|
||||
|
||||
## See also
|
||||
|
||||
- [Seek a Storyboard Synchronously](how-to-seek-a-storyboard-synchronously.md)
|
||||
Reference in New Issue
Block a user