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.

Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.