Docking Expand/Collapse Animation Problem

5 posts, 0 answers
  1. Kiril
    Kiril avatar
    3 posts
    Member since:
    Jun 2013

    Posted 13 Aug 2013 Link to this post

    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
  2. Masha
    Admin
    Masha avatar
    355 posts

    Posted 16 Aug 2013 Link to this post

    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 >>
  3. DevCraft banner
  4. Kiril
    Kiril avatar
    3 posts
    Member since:
    Jun 2013

    Posted 16 Aug 2013 Link to this post

    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
  5. Masha
    Admin
    Masha avatar
    355 posts

    Posted 20 Aug 2013 Link to this post

    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 >>
  6. Kiril
    Kiril avatar
    3 posts
    Member since:
    Jun 2013

    Posted 20 Aug 2013 Link to this post

    Great Masha,

    This fixed my problem. Thnaks you.
Back to Top
DevCraft banner