mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-07 16:06: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.6 KiB
1.6 KiB
title, ms.date, dev_langs, helpviewer_keywords, ms.assetid
| title | ms.date | dev_langs | helpviewer_keywords | ms.assetid | ||||
|---|---|---|---|---|---|---|---|---|
| How to: Animate the Position of an Object by Using PointAnimation | 03/30/2017 |
|
|
42310977-cc90-438a-8a47-0345898e01be |
How to: Animate the Position of an Object by Using PointAnimation
This example shows how to use the xref:System.Windows.Media.Animation.PointAnimation class to animate an object along a xref:System.Windows.Shapes.Path.
Example
The following example moves an ellipse along a xref:System.Windows.Shapes.Path from one point on the screen to another. The example animates the position of an xref:System.Windows.Media.EllipseGeometry by using xref:System.Windows.Media.Animation.PointAnimation to animate the xref:System.Windows.Media.EllipseGeometry.Center%2A property.
[!code-csharpBasicAnimations_snip#PointAnimationWholePage] [!code-vbBasicAnimations_snip#PointAnimationWholePage]