RadWindow and RadDock

2 posts, 0 answers
  1. Yu
    Yu avatar
    17 posts
    Member since:
    Jul 2012

    Posted 12 Feb 2013 Link to this post

    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
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 15 Feb 2013 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top