Skip to content
This repository has been archived by the owner on Nov 26, 2019. It is now read-only.

musatov/DynamicOrientationChanges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

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);

About

Simple library for enabling orientation changes animation for Windows Phone 7 application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages