O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

This chapter began by exploring the properties and events that govern page orientation. The PhoneApplicationPage.Orientation property affects orientation only at design time. The PhoneApplicationPage.SupportedOrientations property is used to change the orientation at runtime.

The chapter then looked at using a custom IValueConverter to hide and display page elements depending on the page’s orientation. You then saw how to animate page elements using the VisualStateManager, and how to substitute an application’s RootVisual with a custom PhoneApplicationFrame to animate the entire page when the orientation changes.

Finally, the chapter looked at animating page transitions using the Windows Phone Toolkit.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required