3 <style type=
"text/css">
19 <embed type=
"application/x-silverlight" data=
"data:," id=
"slControl" width=
"400" height=
"400" source=
"#xamlContent">
21 <script type=
"text/xaml" id=
"xamlContent">
23 <Canvas xmlns=
"http://schemas.microsoft.com/winfx/2006/xaml/presentation"
24 xmlns:
x=
"http://schemas.microsoft.com/winfx/2006/xaml" Loaded=
"OnLoaded" x:
Name=
"MasterCanvas">
26 <Ellipse Width=
"400" Height=
"400" Canvas.
Left=
"0" Canvas.
Top=
"0">
29 <RadialGradientBrush.GradientStops
>
30 <GradientStop x:
Name=
"color1" Offset=
"0" Color=
"Red" />
31 <GradientStop x:
Name=
"color2" Offset=
"1" Color=
"Green" />
32 </RadialGradientBrush.GradientStops
>
33 </RadialGradientBrush>
36 <EventTrigger RoutedEvent=
"Ellipse.Loaded">
39 <ColorAnimation BeginTime=
"00:00:00" Storyboard.
TargetName=
"color1" Storyboard.
TargetProperty=
"Color" To=
"RoyalBlue" Duration=
"0:0:5" />
40 <ColorAnimation BeginTime=
"00:00:00" Storyboard.
TargetName=
"color2" Storyboard.
TargetProperty=
"Color" To=
"Yellow" Duration=
"0:0:5" />
47 <Ellipse Width=
"50" Height=
"50" Canvas.
Left=
"175" Canvas.
Top=
"40" Fill=
"Orange" Stroke=
"White" StrokeThickness=
"5" RenderTransformOrigin=
"0.5, 3">
48 <Ellipse.RenderTransform
>
50 <ScaleTransform ScaleX=
"1" ScaleY=
"1"/>
51 <SkewTransform AngleX=
"0" AngleY=
"0"/>
52 <RotateTransform x:
Name=
"angle1" Angle=
"0"/>
53 <TranslateTransform X=
"0" Y=
"0"/>
55 </Ellipse.RenderTransform
>
57 <EventTrigger RoutedEvent=
"Ellipse.Loaded">
59 <Storyboard SpeedRatio=
"1.0">
60 <DoubleAnimation BeginTime=
"00:00:00" Storyboard.
TargetName=
"angle1" Storyboard.
TargetProperty=
"Angle" To=
"360.0" Duration=
"0:0:5" />
67 <Ellipse Width=
"50" Height=
"50" Canvas.
Left=
"175" Canvas.
Top=
"40" Fill=
"LightGray" Stroke=
"White" StrokeThickness=
"5" RenderTransformOrigin=
"0.5, 3">
68 <Ellipse.RenderTransform
>
70 <ScaleTransform ScaleX=
"1" ScaleY=
"1"/>
71 <SkewTransform AngleX=
"0" AngleY=
"0"/>
72 <RotateTransform Angle=
"180"/>
73 <RotateTransform x:
Name=
"angle2" Angle=
"0"/>
74 <TranslateTransform X=
"0" Y=
"0"/>
76 </Ellipse.RenderTransform
>
78 <EventTrigger RoutedEvent=
"Ellipse.Loaded">
80 <Storyboard SpeedRatio=
"1.0">
81 <DoubleAnimation BeginTime=
"00:00:00" Storyboard.
TargetName=
"angle2" Storyboard.
TargetProperty=
"Angle" To=
"360.0" Duration=
"0:0:5" />