Permalink
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (30 sloc) 1 KB
<!-- <Snippet130> -->
<!-- This example shows how to animate with a storyboard.-->
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="Microsoft.Samples.Animation.IndirectTargetingExample"
WindowTitle="Indirect Targeting Example">
<!-- <Snippet131> -->
<Page.Resources>
<SolidColorBrush x:Key="MySolidColorBrushResource"
x:Shared="False"
Color="Blue" />
<ScaleTransform x:Key="MyScaleTransformResource"
x:Shared="False"
ScaleX="1" ScaleY="1" />
<RotateTransform x:Key="MyRotateTransformResource"
x:Shared="False"
Angle="0" />
<!-- <Snippet142> -->
<TransformGroup x:Key="MyTransformGroupResource"
x:Shared="False">
<ScaleTransform />
<RotateTransform />
</TransformGroup>
<!-- </Snippet142> -->
</Page.Resources>
<!-- </Snippet131> -->
<StackPanel Name="myStackPanel" Margin="20">
</StackPanel>
</Page>
<!-- </Snippet130> -->