Files
docs-desktop/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-specify-whether-a-timeline-automatically-reverses.md
Andy De George da363692ff 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
2020-09-04 09:46:28 -07:00

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
AutoReverse property of timelines [WPF]
Timelines [WPF], AutoReverse property
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]