Docking Animation problem

5 posts, 0 answers
  1. Alex
    Alex avatar
    26 posts
    Member since:
    Nov 2010

    Posted 11 Jan 2019 Link to this post

    Hello

    I want to use RadDocking in my application, but I have a problem with its animation. The opening of an element is smooth. However, closing it behaves strangely. It goes first smoothly, but then you see a short flicker and it disappears halfway. How do I make the closing process as smooth as opening?

    Regards,
    Alex

     

     

  2. Dinko
    Admin
    Dinko avatar
    999 posts

    Posted 15 Jan 2019 Link to this post

    Hello Alex,

    Thank you for your interest in our RadDocking control.

    It will be great if you can share a video which demonstrates this closing animation. I have tested this on my side but wasn't able to observe any difference in the animation. Are able to reproduce it our WPF demos? Also, can you share some more details:
    1. Which version of our controls are you referencing?
    2. What is the OS of the machine which you are working on?
    3. Which version of VS are you using?

    Regards,
    Dinko
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. Alex
    Alex avatar
    26 posts
    Member since:
    Nov 2010

    Posted 20 Jan 2019 Link to this post

    Hi Dinko,

    Thanks for your answer.

    I noticed this behavior in the WPF Controls Examples project in the examples for the RadDocking Control. I am using Telerik version 17.3.1018.0, Windows 10 64-bit and Visual Studio 2017. I noticed that besides the collapse the expansion starts after half of the time. How do I get the animation to look smooth like the RadExpander-Animation?

    Regards,
    Alex

     

  4. Dinko
    Admin
    Dinko avatar
    999 posts

    Posted 23 Jan 2019 Link to this post

    Hi Alex,

    Thank you for the provided additional information. I think I understand what you mean in your first post. I need more time to check a few things on my side and I will let you know my observations.

    Regards,
    Dinko
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  5. Dinko
    Admin
    Dinko avatar
    999 posts

    Posted 30 Jan 2019 Link to this post

    Hello Alex,

    Thank you for your patience.

    The best approach which I manage to find, to change the animation of the flying out panes behavior when the pane is pinned, is to extract and edit the default template of the RadDocking control. You can check the Editing Control Templates help article which describes how you can get the default template of the controls. In your case, you can navigate to the telerikAnimation:AnimationManager.AnimationSelector attached property setter. Then you can modify every animation group inside the AnimationSelector. For example, you can go to ANimationGroup with AnimationName set to RightOut and RightIn. Inside there is SlideAnimation. To increase the animation area you can set the PixelsToAnimate to 236 for example. You can consider creating your own animation which fits your needs.

    Regards,
    Dinko
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top