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

Docking Expand/Collapse Animation Problem

4 Answers 41 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Kiril
Top achievements
Rank 1
Kiril asked on 13 Aug 2013, 11:01 AM
Hi Telerik Team,

I have made the following extension of the RadDocking control: I have added Expand/Collapse functionality that allows users to Show/Hide the content of each Pane (when it is collapsed - only the header is visible). This is available only when the Pane is in floating mode. I have achieved this by adding an DoubleAnimationto the ToolWindow, animating the FrameworkElement.Height property. Everything works great but there is annoing 'vibration' of the Pane while collapsing (while the height is decreasing). Can you help me to figure out why this is happening and how to avoid this issue?

If nesessary I can send you a project to see the issue by yourself.

Thanks,
Kiril

4 Answers, 1 is accepted

Sort by
0
Masha
Telerik team
answered on 16 Aug 2013, 07:22 AM
Hello Kiril,

We will need some more information regarding the issue and it will be best if you are able to send us a runnable sample that reproduce the problem so that we are able to view and advise you more accordingly.


Regards,
Masha
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Kiril
Top achievements
Rank 1
answered on 16 Aug 2013, 11:43 AM
Hi again,

you can download the project with .sln file from this link - it is a .zip file:
http://dox.bg/files/dw?a=9d924d86cb

To repeat the problem - start the solution -> Make 'Pane 1' floating -> Click the '-' (Minimise) button.
Can you see the 'vibration' when collapsing? Thank you and I will be very happy if you help me with this annoing issue.

Greetings,
Kiril
0
Masha
Telerik team
answered on 20 Aug 2013, 08:51 AM
Hello Kiril,

Simply add
window.VerticalAlignment = VerticalAlignment.Top;
window.VerticalContentAlignment = VerticalAlignment.Top;
under window definition inside PerformClickAction and everything should work as expected.

I hope it helps.

Regards,
Masha
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Kiril
Top achievements
Rank 1
answered on 20 Aug 2013, 09:30 AM
Great Masha,

This fixed my problem. Thnaks you.
Tags
Docking
Asked by
Kiril
Top achievements
Rank 1
Answers by
Masha
Telerik team
Kiril
Top achievements
Rank 1
Share this question
or