Pane pin animation issue

4 posts, 0 answers
  1. Michael
    Michael avatar
    3 posts
    Member since:
    May 2013

    Posted 17 Jun 2013 Link to this post

    When pinning/unpinning a pane in the docking tools, the fly in and out looks terrible.  It animates a bit then jumps.  Not nice.

    Is there a way to get this to look smooth?  I know how to disable the animation entirely, but that defeats the purpose.

    If this is 'how it is' please let me know as I would like to submit this as a bug.

    Thank you!
  2. Masha
    Admin
    Masha avatar
    355 posts

    Posted 20 Jun 2013 Link to this post

    Hello Bryan,

    To change the animation, I would suggest modifying the RadDocking theme and changing the animations there. The AnimationSelector takes care of the auto-hide animations. LeftIn, Leftout, TopIn, TopOut, RightIn, RightOut, BottomIn, BottomOut are the animations responsible for the AutoHideAreas.

    You can always switch off the animations you just need to set the AnimationManager.AnimationSelector attached property of the Docking control to Null.

    I hope this will help with any customizations you wish to make.


    Regards,
    Masha
    Telerik

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Michael
    Michael avatar
    3 posts
    Member since:
    May 2013

    Posted 20 Jun 2013 Link to this post

    Hi Masha,

    If the solution is for me to customize this myself or turn it off then this is a bug.  These animations are clearly broken.

    Cheers
  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 25 Jun 2013 Link to this post

    Hi Bryan,

    Actually the animation is intentionally designed like this  - we wanted the duration and the speed of the animation while pinning/unpinning to be the same for all the panes. However,  the width of the panes is different and this is causing the described effect.  We think this is the better option than having inconsistent animations, also as Masha explained in the previous post, you can modify the animations to match your specific requirements.

    I hope this clears things up. If you have any additional questions/issues, let us know.

    Regards,
    Yana
    Telerik

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top