Tech Off Thread

2 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Setting StoryBoard target path for transformation group

Back to Forum: Tech Off
  • User profile image
    trun_gup

    I am using animation that involves various transformations, in a transformation group.

    Problem is in setting target property for story board in c#, as it is an indirect one .

    in XAML it is as:

    Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(ScaleTransform.ScaleX)"

    i want the c# equivalent for setting the above stated target path.

  • User profile image
    trun_gup

    i get it right by myself, using DependencyProperty[] chain, and PropertyPath path,
     and using
     myproperty=new propertypath(path,chain);

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.