Share via


DisplayInfo.Rotation Property

Definition

Gets the orientation of the device's display.

public:
 property Microsoft::Maui::Devices::DisplayRotation Rotation { Microsoft::Maui::Devices::DisplayRotation get(); };
public Microsoft.Maui.Devices.DisplayRotation Rotation { get; }
member this.Rotation : Microsoft.Maui.Devices.DisplayRotation
Public ReadOnly Property Rotation As DisplayRotation

Property Value

The rotation

Applies to