Customize size of rotate arrow for Raddiagram

2 posts, 0 answers
  1. Dipti
    Dipti avatar
    3 posts
    Member since:
    Apr 2017

    Posted 14 Jul Link to this post

    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?

  2. Martin Ivanov
    Admin
    Martin Ivanov avatar
    1402 posts

    Posted 19 Jul Link to this post

    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.
Back to Top