How to modify the default transition of pages in Windows Phone 8.1?

5

Hello, I'm having a hard time finding a solution to create customizable page transitions in Windows Phone 8.1 , because when I try to use the toolkit I read on this blog (

asked by anonymous 27.06.2014 / 20:47

1 answer

2

In Windows Phone 8.1 there are 2 types of applications, Windows Phone Store Apps 8.1 and Windows Phone Silverlight 8.1.

If you are using Windows Phone Silverlight 8.1, page transitions equals 8.0 with wptoolkit:

<toolkit:TransitionService.NavigationInTransition>

and

<toolkit:TransitionService.NavigationOutTransition>

But as you're saying that you do not have the toolkit, it's probably Windows Phone Apps 8.1, so you do not have the same wptoolkit and you should use the WinRT's EntranceThemeTransition class:

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

Reference: link

    
11.08.2014 / 21:34