--- title: "How to: Use Event Triggers to Control a Storyboard After It Starts" ms.date: "03/30/2017" helpviewer_keywords: - "triggers [WPF], controlling Storyboards" - "event triggers [WPF], controlling Storyboards" - "Storyboards [WPF], controlling after start" ms.assetid: 3b115594-6a93-4972-b24d-61aa16f1c15f --- # How to: Use Event Triggers to Control a Storyboard After It Starts This example shows how to control a after it starts. To start a by using [!INCLUDE[TLA2#tla_xaml](../../../includes/tla2sharptla-xaml-md.md)], use , which distributes the animations to the objects and properties they animate and then starts the storyboard. If you give a name by specifying its property, you make it a controllable storyboard. You can then interactively control the storyboard after it starts. Use the following storyboard actions together with objects to control a storyboard. - : Pauses the storyboard. - : Resumes a paused storyboard. - : Changes the storyboard speed. - : Advances a storyboard to the end of its fill period, if it has one. - : Stops the storyboard. - : Removes the storyboard, freeing resources. ## Example The following example uses controllable storyboard actions to interactively control a storyboard. > [!NOTE] > To see an example of controlling a storyboard by using code, see [Control a Storyboard After It Starts Using Its Interactive Methods](how-to-control-a-storyboard-after-it-starts.md). [!code-xaml[timingbehaviors_snip#ControlStoryboardExampleUsingWholePage](~/samples/snippets/csharp/VS_Snippets_Wpf/timingbehaviors_snip/CSharp/ControlStoryboardExample.xaml#controlstoryboardexampleusingwholepage)] For additional examples, see the [Animation Example Gallery](https://github.com/Microsoft/WPF-Samples/tree/master/Animation/AnimationExamples). ## See also - - - - - - - [Control a Storyboard After It Starts Using Its Interactive Methods](how-to-control-a-storyboard-after-it-starts.md) - [Animation Overview](animation-overview.md) - [Storyboards Overview](storyboards-overview.md)