Occurs when the device rotation is changed.
public event RotationHandler RotationChanged;
The event handler receives an argument of type RotationEventArgs containing data related to this event. The following RotationEventArgs properties provide information specific to this event.
Property | Description |
---|---|
RotationEventArgs.CurrentOrientation | The current orientation of the mobile device |
RotationEventArgs.InitialAngle | Gets the initial or natural orientation of the mobile device. |