OrientationChanged Event
Collapse the table of content
Expand the table of content

PhoneApplicationFrame.OrientationChanged Event

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Occurs when the Orientation property has changed.

Namespace:  Microsoft.Phone.Controls
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

Public Event OrientationChanged As EventHandler(Of OrientationChangedEventArgs)
<object OrientationChanged="EventHandler<OrientationChangedEventArgs>" .../>

The value of the Orientation property will be immediately updated before the event is raised.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft