Código
<Window x:Class="Window6" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:WpfApplication1" mc:Ignorable="d" Title="Window6" Height="450" Width="800" Background="#FF616161"> <Window.Resources> <SolidColorBrush x:Key="Borde" Color="Red"/> <Storyboard x:Key="Storyboard1"> <RectAnimation Storyboard.TargetName="c1" Storyboard.TargetProperty ="Rect" Duration="0:0:2" From="100,0,0,50" To="100,0,70,50" BeginTime="0:0:2"/> <RectAnimation Storyboard.TargetName="c2" Storyboard.TargetProperty ="Rect" Duration="0:0:2" From="170,28,30,0" To="170,28,30,72" BeginTime="0:0:4"/> <RectAnimation Storyboard.TargetName="c3" Storyboard.TargetProperty ="Rect" Duration="0:0:2" From="170,100,30,0" To="170,100,30,72" BeginTime="0:0:6"/> <RectAnimation Storyboard.TargetName="c4" Storyboard.TargetProperty ="Rect" Duration="0:0:2" From="170,150,70,50" To="100,150,70,50" BeginTime="0:0:8"/> <RectAnimation Storyboard.TargetName="c5" Storyboard.TargetProperty ="Rect" Duration="0:0:2" From="100,150,0,50" To="30,150,70,50" BeginTime="0:0:10"/> <RectAnimation Storyboard.TargetName="c6" Storyboard.TargetProperty ="Rect" Duration="0:0:2" From="0,172,30,0" To="0,100,30,72" BeginTime="0:0:12"/> <RectAnimation Storyboard.TargetName="c7" Storyboard.TargetProperty ="Rect" Duration="0:0:2" From="0,100,30,0" To="0,28,30,72" BeginTime="0:0:14"/> <RectAnimation Storyboard.TargetName="c8" Storyboard.TargetProperty ="Rect" Duration="0:0:2" From="30,0,0,50" To="30,0,70,50" BeginTime="0:0:16"/> </Storyboard> </Window.Resources> <Window.Triggers> <EventTrigger RoutedEvent="FrameworkElement.Loaded"> <BeginStoryboard Storyboard="{StaticResource Storyboard1}"/> </EventTrigger> </Window.Triggers> <Grid > <Canvas Width="200" Height="200"> <Ellipse Name="e1" Height="200" Width="200" StrokeThickness="6" Stroke="{DynamicResource Borde}"><Ellipse.Clip><RectangleGeometry x:Name="c1" Rect="100,0,0,0" /></Ellipse.Clip></Ellipse> <Ellipse Name="e2" Height="200" Width="200" StrokeThickness="6" Stroke="{DynamicResource Borde}"><Ellipse.Clip><RectangleGeometry x:Name="c2" Rect="170,28,0,0"/></Ellipse.Clip></Ellipse> <Ellipse Name="e3" Height="200" Width="200" StrokeThickness="6" Stroke="{DynamicResource Borde}"><Ellipse.Clip><RectangleGeometry x:Name="c3" Rect="170,100,0,0" /></Ellipse.Clip></Ellipse> <Ellipse Name="e4" Height="200" Width="200" StrokeThickness="6" Stroke="{DynamicResource Borde}"><Ellipse.Clip><RectangleGeometry x:Name="c4" Rect="100,150,0,0"/></Ellipse.Clip></Ellipse> <Ellipse Name="e5" Height="200" Width="200" StrokeThickness="6" Stroke="{DynamicResource Borde}"><Ellipse.Clip><RectangleGeometry x:Name="c5" Rect="100,170,0,50" /></Ellipse.Clip></Ellipse> <Ellipse Name="e6" Height="200" Width="200" StrokeThickness="6" Stroke="{DynamicResource Borde}"><Ellipse.Clip><RectangleGeometry x:Name="c6" Rect="170,28,0,0"/></Ellipse.Clip></Ellipse> <Ellipse Name="e7" Height="200" Width="200" StrokeThickness="6" Stroke="{DynamicResource Borde}"><Ellipse.Clip><RectangleGeometry x:Name="c7" Rect="100,0,0,0" /></Ellipse.Clip></Ellipse> <Ellipse Name="e8" Height="200" Width="200" StrokeThickness="6" Stroke="{DynamicResource Borde}"><Ellipse.Clip><RectangleGeometry x:Name="c8" Rect="170,28,0,0"/></Ellipse.Clip></Ellipse> </Canvas> </Grid> </Window>