Share via


SystemState.DisplayRotation Property

3/29/2010

Gets the rotation of the display in degrees. The only possible values are: portrait = 0, right-handed landscape = 90, and left-handed landscape = -90 or 270.

Namespace: Microsoft.WindowsMobile.Status
Assembly: Microsoft.WindowsMobile.Status (in microsoft.windowsmobile.status.dll)

Syntax

public static int DisplayRotation { get; }
'Declaration
Public Shared ReadOnly Property DisplayRotation As Integer

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

SystemState Class
SystemState Members
Microsoft.WindowsMobile.Status Namespace