ManipulationAdorner offset

3 posts, 1 answers
  1. Alexander
    Alexander avatar
    77 posts
    Member since:
    Apr 2013

    Posted 17 Feb 2015 Link to this post

    Hello,

    for some reason, the manipulation adorner is offset relative to the shape after selecting a rotated shape (see attached image).
    When selecting a shape with rotation angle = 0 and while rotating it, the adorner stays at the expected position.

    What could be the cause for this behavior?

    Alex
  2. Answer
    Kiril Vandov
    Admin
    Kiril Vandov avatar
    324 posts

    Posted 19 Feb 2015 Link to this post

    Hello Alexander,

    This issue could be caused if you have upgrated your binaries from Q2 2014 or below to our latest binaries and you are having a custom style targeting RadDiagramShape and it is not based on to the default one. With our previous version of binaries the RenderTransformOrigin property of the RadDiagramShape was set in the constructor to (0.5 0.5). However with our latest binaries that logic is placed inside the default RadDiagramShape Style and it is removed from the constructor. That is why if you have a custom style targeting the RadDiagramShape and it is not based on the default one the RenderTransformOrigin will be (0 0), setting that property to (0.5 0.5) will fix the issue.

    if that is not the case, please give us a sample project in which we could reproduce the issue, so we could further investigate the issue.

    Looking forward to hearing from you.

    Kind regards,
    Kiril Vandov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Alexander
    Alexander avatar
    77 posts
    Member since:
    Apr 2013

    Posted 19 Feb 2015 in reply to Kiril Vandov Link to this post

    Thanks. That solved the problem.
Back to Top