Browse Source
Added Rainbow Acorn Example on RenderDemo
pull/2163/head
Jumar Macato
7 years ago
No known key found for this signature in database
GPG Key ID: B19884DAC3A5BF3F
1 changed files with
29 additions and
0 deletions
-
samples/RenderDemo/Pages/AnimationsPage.xaml
|
|
|
@ -104,6 +104,34 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
|
|
|
</Animation> |
|
|
|
</Style.Animations> |
|
|
|
</Style> |
|
|
|
<Style Selector="Border.Rect6"> |
|
|
|
<Style.Animations> |
|
|
|
<Animation Duration="0:0:4" |
|
|
|
IterationCount="Infinite"> |
|
|
|
<KeyFrame Cue="0%"> |
|
|
|
<Setter Property="Background" Value="Red"/> |
|
|
|
</KeyFrame> |
|
|
|
<KeyFrame Cue="15%"> |
|
|
|
<Setter Property="Background" Value="Orange"/> |
|
|
|
</KeyFrame> |
|
|
|
<KeyFrame Cue="30%"> |
|
|
|
<Setter Property="Background" Value="Yellow"/> |
|
|
|
</KeyFrame> |
|
|
|
<KeyFrame Cue="45%"> |
|
|
|
<Setter Property="Background" Value="Green"/> |
|
|
|
</KeyFrame> |
|
|
|
<KeyFrame Cue="60%"> |
|
|
|
<Setter Property="Background" Value="Blue"/> |
|
|
|
</KeyFrame> |
|
|
|
<KeyFrame Cue="75%"> |
|
|
|
<Setter Property="Background" Value="Indigo"/> |
|
|
|
</KeyFrame> |
|
|
|
<KeyFrame Cue="90%"> |
|
|
|
<Setter Property="Background" Value="Violet"/> |
|
|
|
</KeyFrame> |
|
|
|
</Animation> |
|
|
|
</Style.Animations> |
|
|
|
</Style> |
|
|
|
</Styles> |
|
|
|
</UserControl.Styles> |
|
|
|
<Grid> |
|
|
|
@ -121,6 +149,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
|
|
|
<Border Classes="Test Rect3"/> |
|
|
|
<Border Classes="Test Rect4" Background="Navy"/> |
|
|
|
<Border Classes="Test Rect5" Background="SeaGreen"/> |
|
|
|
<Border Classes="Test Rect6"/> |
|
|
|
</WrapPanel> |
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
|