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

Sliding effect in Docking control

1 Answer 72 Views
Docking
This is a migrated thread and some comments may be shown as answers.
kalyan
Top achievements
Rank 2
kalyan asked on 21 Feb 2011, 11:12 AM
Hi Admin,
Can we add sliding effect in Docking control while adding an RadPane or closing an Radpane.
I am putting a link with this mail.
http://www.cellbi.com/blog/2011/01/svfx-4-1-advanced-animations-for-silverlight-navigation-frame.aspx
Please help me to solve this problem and let me know if this can be worked out or not.

Thanks
Kalyan

1 Answer, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 24 Feb 2011, 10:29 AM
Hello Kalyan,

 You could add animation for the whole PaneGroup for each time the selected pane is changed - it will appear also when adding a pane (the new pane is selected when this happens) or when closing a pane (the currently selected pane is removed, so it is deselected). Unfortunately you cannot easily add animation only for opening/closing of a pane.

To achieve this you need to edit the ControlTemplate of the RadPaneGroup and to replace the ContentPresenter that presents the SelectedContent with a RadTransitionControl - it supports slick animations. For more information about how to use the TransitionControl into the ControlTemplate of a TabControl (the RadPaneGroup is actually a TabControl) you could refer to the following article - http://blogs.telerik.com/blogs/posts/10-05-12/using_transitions_with_radtransitioncontrol_and_transitionpresenter_in_radtabcontrol.aspx.

Hope this helps!

Greetings,
Miroslav Nedyalkov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Docking
Asked by
kalyan
Top achievements
Rank 2
Answers by
Miroslav Nedyalkov
Telerik team
Share this question
or