RE: Storyboard crash

2012-06-26 Thread Greg Keogh
Chui has it! Storyboard.TargetProperty=(TransformGroup.RenderTransform).Children[0].Angl e From=90 To=0 Now I look again, this makes the TargetProperty match the first child of the control's RenderTransform. What confuses me is that I pasted the original

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)
...@ozsilverlight.com] On Behalf Of Greg Keogh Sent: Monday, 25 June 2012 4:02 PM To: 'ozSilverlight' Subject: Storyboard crash 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

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