--- title: "How to: Animate in a ControlTemplate" ms.date: "03/30/2017" helpviewer_keywords: - "animation [WPF], ControlTemplates" - "ControlTemplates [WPF], animating within" ms.assetid: 97abb5d9-4dc7-4085-a011-54bd8bcb497b --- # How to: Animate in a ControlTemplate This example shows how to use , , and objects to animate within a . ## Example [!code-xaml[AnimatePropertyStoryboards#GraphicsMMControlTemplateStoryboardExample](~/samples/snippets/xaml/VS_Snippets_Wpf/AnimatePropertyStoryboards/XAML/ControlTemplateStoryboardExample.xaml#graphicsmmcontroltemplatestoryboardexample)] For more information about animating properties with storyboards, see [Storyboards Overview](storyboards-overview.md). ## See also -