* 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.2 KiB
title, ms.date, helpviewer_keywords, ms.assetid
| title | ms.date | helpviewer_keywords | ms.assetid | ||
|---|---|---|---|---|---|
| How to: Specify Whether a Timeline Automatically Reverses | 03/30/2017 |
|
1648dd90-1bee-409a-ac69-ac729867f557 |
How to: Specify Whether a Timeline Automatically Reverses
A timeline's xref:System.Windows.Media.Animation.Timeline.AutoReverse%2A property determines whether it plays in reverse after it completes a forward iteration. The following example shows several animations with identical duration and target values, but with different xref:System.Windows.Media.Animation.Timeline.AutoReverse%2A settings. To demonstrate how the xref:System.Windows.Media.Animation.Timeline.AutoReverse%2A property behaves with different xref:System.Windows.Media.Animation.Timeline.RepeatBehavior%2A settings, some animations are set to repeat. The last animation shows how the xref:System.Windows.Media.Animation.Timeline.AutoReverse%2A property works on nested timelines.
Example
[!code-xamltimingbehaviors_snip#AutoReverseAndRepeatBehaviorExampleWholePage]