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.3 KiB
1.3 KiB
title, ms.date, dev_langs, helpviewer_keywords, ms.assetid
| title | ms.date | dev_langs | helpviewer_keywords | ms.assetid | ||||
|---|---|---|---|---|---|---|---|---|
| How to: Seek a Clock Synchronously | 03/30/2017 |
|
|
e5b7529b-b7d0-40d2-9e1d-fa4b5e736e96 |
How to: Seek a Clock Synchronously
Use the xref:System.Windows.Media.Animation.ClockController.SeekAlignedToLastTick%2A method to seek a clock to a specific point synchronously. The following example demonstrates both the xref:System.Windows.Media.Animation.ClockController.Seek%2A and xref:System.Windows.Media.Animation.ClockController.SeekAlignedToLastTick%2A methods of a xref:System.Windows.Media.Animation.ClockController.
This example shows how to seek a xref:System.Windows.Media.Animation.Clock; for an example showing how to seek a storyboard, see Seek a Storyboard Synchronously .
Example
[!code-csharpClockController_procedural_snip#ClockControllerSeekExample] [!code-vbClockController_procedural_snip#ClockControllerSeekExample]