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.

Syntax

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

Remarks

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

PhoneApplicationFrame Class

Microsoft.Phone.Controls Namespace