mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-09 07:56:08 +02:00
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
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
---
|
||||
title: "How to: Animate an EllipseGeometry"
|
||||
ms.date: "03/30/2017"
|
||||
dev_langs:
|
||||
- "csharp"
|
||||
- "vb"
|
||||
helpviewer_keywords:
|
||||
- "animation [WPF], EllipseGeometry objects [WPF]"
|
||||
- "EllipseGeometry objects [WPF], animating"
|
||||
- "graphics [WPF], animation"
|
||||
ms.assetid: 767b9b6e-9cb7-482e-b6c2-fee7750c3995
|
||||
---
|
||||
# How to: Animate an EllipseGeometry
|
||||
This example shows how to animate a <xref:System.Windows.Media.Geometry> within a <xref:System.Windows.Shapes.Path> element. In the following example, a <xref:System.Windows.Media.Animation.PointAnimation> is used to animate the <xref:System.Windows.Media.EllipseGeometry.Center%2A> of an <xref:System.Windows.Media.EllipseGeometry>.
|
||||
|
||||
## Example
|
||||
[!code-xaml[animatepath_snip_XAML#1](~/samples/snippets/csharp/VS_Snippets_Wpf/animatepath_snip_XAML/CS/EllipseGeometryExample.xaml#1)]
|
||||
|
||||
[!code-csharp[animatepath_snip#101](~/samples/snippets/csharp/VS_Snippets_Wpf/animatepath_snip/CSharp/EllipseGeometryExample.cs#101)]
|
||||
|
||||
[!code-vb[animatepath_snip#201](~/samples/snippets/visualbasic/VS_Snippets_Wpf/animatepath_snip/VisualBasic/EllipseGeometryExample.vb#201)]
|
||||
|
||||
## See also
|
||||
|
||||
- [Animation Overview](animation-overview.md)
|
||||
- [Geometry Overview](geometry-overview.md)
|
||||
Reference in New Issue
Block a user