Misunderstanding Storyboard.TargetProperty Property

What exactly is meant by Storyboard.TargetProperty . I know that this is a property of the object that we want to animate. But why are they so complex as: -

Storyboard.TargetProperty='(Shape.Fill).(SolidColorBrush.Color)'

and why not: -

Storyboard.TargetProperty='Fill'

Second example: -

  <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform). (TransformGroup.Children)[3].(ScaleTransform.ScaleX)" Storyboard.TargetName="rectangle"> <EasingDoubleKeyFrame KeyTime="0:0:1" Value="1.88"/> </DoubleAnimationUsingKeyFrames> 

Do I need to remember this strange and complex goal? Any help or any tips and tricks to remember is appreciated.

Thanks in advance:)

+6
source share
1 answer

The best advice is to do it in Blend, I think that these animations were never intended to be manually encoded, MS always wanted the designer to use Blend to create the user interface and animation, while the developers wrote code to enter data on it.

+1
source share

All Articles