I have an image of a fish in a WPF project (VB.net code behind), and I\'m attempting to animate it swimming back and forth using two transforms.
For some reason, while
Those property paths are all wrong, but i would vote for just avoiding the whole trouble of only using those paths by utilizing Storyboard.TargetName
; this works:
If you really want to do it using Storyboard.TargetProperty
only, these would be the correct paths as i found out just now:
Storyboard.TargetProperty="RenderTransform.Children[0].ScaleX"
Storyboard.TargetProperty="RenderTransform.Children[1].X"
Which does make perfect sense if you think about it.