--- title: "How to: Animate the Size of an ArcSegment" ms.date: "03/30/2017" dev_langs: - "csharp" - "vb" helpviewer_keywords: - "graphics [WPF], animation" - "animation [WPF], ArcSegment size" - "ArcSegment [WPF], animating size" ms.assetid: f93a1065-b00a-4d7e-9d4b-37023f98186a --- # How to: Animate the Size of an ArcSegment This example shows how to animate the property of an . ## Example The following example creates an that animates its when it loads on the screen. [!code-csharp[BasicAnimations_snip#SizeAnimationWholePage](~/samples/snippets/csharp/VS_Snippets_Wpf/BasicAnimations_snip/CSharp/SizeAnimationExample.cs#sizeanimationwholepage)] [!code-vb[BasicAnimations_snip#SizeAnimationWholePage](~/samples/snippets/visualbasic/VS_Snippets_Wpf/BasicAnimations_snip/VisualBasic/SizeAnimationExample.vb#sizeanimationwholepage)] For additional geometry and animation samples, see the [Geometries Sample](https://github.com/Microsoft/WPF-Samples/tree/master/Graphics/Geometry). ## See also - - - [Animation Overview](animation-overview.md) - [Geometry Overview](geometry-overview.md) - [Geometries How-to Topics](geometries-how-to-topics.md) - [Animation and Timing How-to Topics](animation-and-timing-how-to-topics.md)