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
- AnimateOrientationChanges
- FadeOrientationChanges
- HybridOrientationChanges
- Working together with WP7 toolkit Transition Animation
Simplest way for using this libary with NuGet. Folow this steps:
-
Install package
-
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);