How to modify the default page transition on Windows Phone 8.1?

Asked

Viewed 126 times

5

Hello, I’m having trouble finding a solution to create customizable page transitions on Windows Phone 8.1, because when trying to use Toolkit I read in this blog (http://wp.qmatteoq.com) that there is not yet Toolkit for 8.1 or it is not necessary. I would like example, only found for 8.0, or a brief explanation of the best way to take.

  • good morning! see if these examples of MSDN can help you: http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh452703.aspx

1 answer

2

On Windows Phone 8.1 there are 2 types of apps, Windows Phone Store Apps 8.1 and Windows Phone Silverlight 8.1.

If you’re using Windows Phone Silverlight 8.1, page transitions equal 8.0 with wptoolkit:

<toolkit:TransitionService.NavigationInTransition>

and

<toolkit:TransitionService.NavigationOutTransition>

But since you’re saying you don’t have Toolkit, it’s probably Windows Phone Store Apps 8.1, so you don’t have the same wptoolkit and you should use Winrt’s Entrancethemetransition class:

<Button>
    <Button.Transitions>
        <TransitionCollection> 
            <EntranceThemeTransition/>
        </TransitionCollection>
    </Button.Transitions>
</Button> 

Reference: http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh452703.aspx

Browser other questions tagged

You are not signed in. Login or sign up in order to post.