Folks, in the XAML and code below I'm getting the crash "Cannot resolve
TargetProperty RenderTransform.Children[0].Angle on specified object." It
all looks correct to me, can anyone see what's wrong? This code was copied
from a WPF app where it's working fine and creates a nice "spinout" effect
on a control. In my SL4 app it dies -- Greg
var spinout = (Storyboard)grid.Resources["StorySpinout"];
spinout.Begin();
<Grid x:Name="LayoutRoot">
<Grid.Resources>
<Storyboard x:Key="StorySpinout" Duration="0:0:1.0" BeginTime="0:0:0.2">
<DoubleAnimation Storyboard.TargetName="helpCtl"
Storyboard.TargetProperty="RenderTransform.Children[0].Angle" From="90"
To="0">
<DoubleAnimation.EasingFunction>
<BackEase EasingMode="EaseOut" Amplitude="0.5"/>
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
<DoubleAnimation Storyboard.TargetName="helpCtl"
Storyboard.TargetProperty="RenderTransform.Children[1].ScaleX" From="0.0"
To="1.0"/>
<DoubleAnimation Storyboard.TargetName="helpCtl"
Storyboard.TargetProperty="RenderTransform.Children[1].ScaleY" From="0.0"
To="1.0"/>
</Storyboard>
</Grid.Resources>
<comn:WidgetHelpControl x:Name="helpCtl">
<comn:WidgetHelpControl.RenderTransform>
<TransformGroup>
<RotateTransform Angle="90" CenterX="200" CenterY="200" />
<ScaleTransform CenterX="200" CenterY="200" ScaleX="0.0"
ScaleY="0.0"/>
</TransformGroup>
</comn:WidgetHelpControl.RenderTransform>
</comn:WidgetHelpControl>
</Grid>
_______________________________________________
ozsilverlight mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight