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

RadWindow and RadDock

1 Answer 59 Views
TransitionControl
This is a migrated thread and some comments may be shown as answers.
Yu
Top achievements
Rank 1
Yu asked on 12 Feb 2013, 08:23 AM
Do we have some example for applying radTransitionControl to the radWindow and radDock?

During the radWindow open and close used a dialog box, we would like to apply some animation effect?

While we adding/switching the radPane of the radPaneGroup of radDock, we also would like to have some animation effect?


Thanks

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 15 Feb 2013, 02:41 PM
Hi Yu,

RadTransitionControl is actually a ContentControl which plays animation when its Content is changed. So it cannot be used for animating RadWindow as the Window cannot be placed inside a ContentControl.

As to RadDocking - you should edit the ControlTemplate of the RadPaneGroup and replace the ContentPresenter in it with a TransitionControl.  I have attached a sample project to demonstrate the approach. Note that I have used Implicit Styles as this makes such customizations easier.

Hope this helps.

Regards,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
TransitionControl
Asked by
Yu
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or