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

Disable animation on PhoneApplicationFrame

1 Answer 32 Views
PhoneApplicationFrame
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jessi
Top achievements
Rank 1
Jessi asked on 23 Oct 2014, 01:14 PM
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?

1 Answer, 1 is accepted

Sort by
0
Ivaylo Gergov
Telerik team
answered on 28 Oct 2014, 12:02 PM
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:RadTransitionControl.Transition>
        <telerikPrimitives:RadSlideTransition />
    </telerikPrimitives:RadTransitionControl.Transition>

Let me know if this helps.

Regards,
Ivaylo Gergov
Telerik
 

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.

 
Tags
PhoneApplicationFrame
Asked by
Jessi
Top achievements
Rank 1
Answers by
Ivaylo Gergov
Telerik team
Share this question
or