Código XAML
<Window.Triggers>
<EventTrigger RoutedEvent="Window.Loaded">
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetName="myEllipse" Storyboard.TargetProperty="(Ellipse.Height)" From="0" To="500" Duration="0:0:3" RepeatBehavior="Forever" AutoReverse="True" />
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
</EventTrigger>
</Window.Triggers>
<Ellipse x:Name="myEllipse" Fill="DarkRed"/>
No hay comentarios:
Publicar un comentario