mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-06 23:43:07 +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.2 KiB
1.2 KiB
title, ms.date, helpviewer_keywords, ms.assetid
| title | ms.date | helpviewer_keywords | ms.assetid | ||||
|---|---|---|---|---|---|---|---|
| How to: Accelerate or Decelerate an Animation | 03/30/2017 |
|
4f383b2c-f94d-4a4e-9a06-f56f5dae95f9 |
How to: Accelerate or decelerate an animation
This example demonstrates how to make an animation accelerate and decelerate over time. In the following example, several rectangles are animated by animations with different xref:System.Windows.Media.Animation.Timeline.AccelerationRatio%2A and xref:System.Windows.Media.Animation.Timeline.DecelerationRatio%2A settings.
Example
[!code-xamltimingbehaviors_snip#1]
Code has been omitted from this example. For the complete code, see the Animation Timing Behavior (C#) or Animation Timing Behavior (Visual Basic).