<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <Path Fill="Gray" Stroke="Black" StrokeThickness="3"> <Path.Data> <GeometryGroup> <EllipseGeometry Center="96 300" RadiusX="48" RadiusY="48" /> <EllipseGeometry Center="300 100" RadiusX="48" RadiusY="48"> <EllipseGeometry.Transform> <RotateTransform x:Name="rotate" CenterX="300" CenterY="300" /> </EllipseGeometry.Transform> </EllipseGeometry> </GeometryGroup> </Path.Data> </Path> <Canvas.Triggers> <EventTrigger RoutedEvent="Canvas.Loaded"> <BeginStoryboard> <Storyboard> <DoubleAnimation Storyboard.TargetName="rotate" Storyboard.TargetProperty="Angle" From="0" To="360" Duration="0:0:5" RepeatBehavior="Forever" /> </Storyboard> </BeginStoryboard> </EventTrigger> </Canvas.Triggers> </Canvas>