Simple library for enabling orientation changes animation for Windows Phone 7 application
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md

README.md

Dynamic Orientation Changes

Simple library for enabling orientation changes animation for Windows Phone 7 Applications. Originaly deveoped by David Anson and merged with solution suggested by Andy Wigley

Features

  1. AnimateOrientationChanges
  2. FadeOrientationChanges
  3. HybridOrientationChanges
  4. Working together with WP7 toolkit Transition Animation

Using

Simplest way for using this libary with NuGet. Folow this steps:

  1. Install package

  2. At the App.xaml.cs file replace folowing line:

     RootFrame = new PhoneApplicationFrame();
    

    with

     RootFrame = new Delay.AnimateOrientationChangesFrame();
    

    or

     RootFrame = new Delay.FadeOrientationChangesFrame();
    

    or

     RootFrame = new Delay.HybridOrientationChangesFrame();
    

    depend on animation type.

Also you can setup animation Duration like this:

	((Delay.AnimateOrientationChangesFrame)RootFrame).Duration = TimeSpan.FromSeconds(0.6);