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

Docking Animation problem

4 Answers 80 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 11 Jan 2019, 08:53 AM

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

 

 

4 Answers, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 15 Jan 2019, 02:18 PM
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.
0
Alex
Top achievements
Rank 1
answered on 20 Jan 2019, 04:59 PM

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

 

0
Dinko | Tech Support Engineer
Telerik team
answered on 23 Jan 2019, 03:13 PM
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.
0
Dinko | Tech Support Engineer
Telerik team
answered on 30 Jan 2019, 03:37 PM
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.
Tags
Docking
Asked by
Alex
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Alex
Top achievements
Rank 1
Share this question
or