Skip to content

Bank Holiday Special Adding Page Transitions quickly in WP7

August 29, 2011

As I am on the train during this Bank holiday, I wanted some quick XAML code to add a page turnstile page transition between swiitching pages, which is quick and effective at less than 350ms, so that is user friendly, and delights the user experience.

Here’s how you add the XAML at the top if the declarations for backwards and forwards in the navigation in transitions:-

Then add this for where to transition to:-

Compile and you notice this hasn’t been done in effective, to make it work, you need to go the initialisation code which maps to the application really closely.

Under the

InitializePhoneApplication()method replace the following:

//RootFrame = new PhoneApplicationFrame(); this has been commented out
RootFrame = new TransitionFrame();

Advertisements

From → Uncategorized

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: