Storyboard crash

2012-06-25 Thread Greg Keogh
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

RE: Storyboard crash

2012-06-25 Thread Shane Morris (Automatic Studio)
Don't ask me what's wrong, but the way I would get around it is to name the Transforms you want to manipulate and address them by name. Grid x:Name=LayoutRoot Grid.Resources Storyboard x:Key=StorySpinout Duration=0:0:1.0 BeginTime=0:0:0.2 DoubleAnimation Storyboard.TargetName=Child0

Re: Storyboard crash

2012-06-25 Thread Chui Tey
Greg, Try casting Storyboard x:Key=StorySpinout Duration=0:0:1.0 BeginTime=0:0:0.2 DoubleAnimation Storyboard.TargetName=helpCtl Storyboard.TargetProperty=(TransformGroup.RenderTransform).Children[0].Angle From=90 To=0