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

Customize size of rotate arrow for Raddiagram

1 Answer 75 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Dipti
Top achievements
Rank 1
Dipti asked on 14 Jul 2017, 12:03 PM

Hello,

In Raddiagram, when i set IsRotationEnabled property to true, i am able to use in-build rotate arrow for rotation.
How can i customize the size of this rotate arrow?

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 19 Jul 2017, 09:48 AM
Hello Dipti,

To achieve your requirement you can modify the ControlTemplate of the ManipulationAdorner element. The Editing Control Templates article shows how to get and change the default templates of the UI for WPF controls.

In this particular case you can find the Path element with x:Name=RotationPart from the template and set its Width and Height properties. I attached a project demonstrating this approach. Note that the project uses the VisualStudio2013 theme with its Dark variation and NoXaml dlls.

Regards,
Martin Ivanov
Progress Telerik
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
Dipti
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or