PhoneApplicationPage.OnOrientationChanged Method

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

Called after the Orientation property has been changed.

Namespace:  Microsoft.Phone.Controls
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

Syntax

Protected Overridable Sub OnOrientationChanged ( _
    e As OrientationChangedEventArgs _
)
protected virtual void OnOrientationChanged(
    OrientationChangedEventArgs e
)

Parameters

Remarks

Occurs after the phone is rotated or the SupportedOrientations property has changed.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

PhoneApplicationPage Class

Microsoft.Phone.Controls Namespace