Disable animation on PhoneApplicationFrame

Thread is closed for posting
2 posts, 0 answers
  1. Jessi
    Jessi avatar
    6 posts
    Member since:
    May 2014

    Posted 23 Oct 2014 Link to this post

    I want to use RADPhoneApplicationFrame on only a couple of pages and would like the majority of the application to not animate pages. Is there a way to set the default so it has no animation?
  2. Ivaylo Gergov
    Ivaylo Gergov avatar
    691 posts

    Posted 28 Oct 2014 Link to this post

    Hi Jessi,

    Yes, the desired scenario is possible. In the InitializePhoneApplication() method you can assign the RootFrame to a RadPhoneApplicationFrame with RadEmptyTransition : 
    RootFrame = new RadPhoneApplicationFrame() {Transition = new RadEmptyTransition()};

    Then, when you want to animate a certain page, you can use the RadTransitionControl.Transition ​attached property to assign a transition. For example: 
    <phone:PhoneApplicationPage .. >
            <telerikPrimitives:RadSlideTransition />

    Let me know if this helps.

    Ivaylo Gergov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top