mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-04 00:56:03 +02:00
* Update build-validation.yml * Update version-sweep.yml * Update .acrolinx-config.edn * Update .openpublishing.publish.config.json * fix paths * Update .github/workflows/build-validation.yml
1.3 KiB
1.3 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).