This is a migrated thread and some comments may be shown as answers.

Programatically moving shapes (animation)

1 Answer 221 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Renier Pretorius
Top achievements
Rank 2
Iron
Iron
Iron
Renier Pretorius asked on 06 Jan 2017, 09:33 AM
Hi. Is it possible to programatically move shapes on a diagram? I can change its position from a button click event, but would like to animate the movement. Eventually i would want to animate multiple shapes simultaneously (individually not as group)

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 06 Jan 2017, 11:58 AM
Hello Renier,

RadDiagram doesn't support animation of its shape positions. In order to achieve this you can use WPF storyboard and animate the Position property of the shape. You can read more about WPF animations in MSDN.

Regards,
Martin
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
Diagram
Asked by
Renier Pretorius
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Martin Ivanov
Telerik team
Share this question
or