Is animation for custom properties of array type supported? Animation for simple properties (of Point type for example) works fine for me. When I changed property to PointCollection type the code stopped working with the error: cannot resolve TargetProperty Points[0] on specified object.
Property is defined as
public static readonly DependencyProperty PointsProperty =
DependencyProperty.Register("Points",
typeof(PointCollection),
typeof(Bone),
new PropertyMetadata(new PropertyChangedCallback(OnPointsChanged)));
public PointCollection Points
{
get { return (PointCollection)GetValue(PointsProperty); }
set { SetValue(PointsProperty, value); }
}
Timeline is created from code as
Storyboard.SetTarget(tlArr, obj);
Storyboard.SetTargetProperty(tlArr, new PropertyPath("Points[0]"));
Any ideas?