This documentation is archived and is not being maintained.
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.
'Declaration
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