【发布时间】:2010-09-18 10:43:36
【问题描述】:
Storyboard.TargetProperty 究竟是什么意思。我知道这是我们想要动画的对象的属性。但是为什么它们如此复杂:-
Storyboard.TargetProperty='(Shape.Fill).(SolidColorBrush.Color)'
为什么不呢:-
Storyboard.TargetProperty='Fill'
第二个例子:-
<DoubleAnimationUsingKeyFrames
Storyboard.TargetProperty="(UIElement.RenderTransform).
(TransformGroup.Children)[3].(ScaleTransform.ScaleX)"
Storyboard.TargetName="rectangle">
<EasingDoubleKeyFrame KeyTime="0:0:1"
Value="1.88"/>
</DoubleAnimationUsingKeyFrames>
我需要记住这个奇怪而复杂的目标属性吗?感谢您提供任何帮助或任何提示和技巧来记住这一点。
提前致谢:)
【问题讨论】:
标签: silverlight-4.0