Jaa


DisplayInformation.NativeOrientation Property

Definition

Gets the native orientation of the display monitor, which is typically the orientation where the buttons on the device match the orientation of the monitor.

public:
 property DisplayOrientations NativeOrientation { DisplayOrientations get(); };
DisplayOrientations NativeOrientation();
public DisplayOrientations NativeOrientation { get; }
var displayOrientations = displayInformation.nativeOrientation;
Public ReadOnly Property NativeOrientation As DisplayOrientations

Property Value

The native orientation of the display monitor.

Remarks

NativeOrientation returns only the Landscape or Portrait value. NativeOrientation never returns the LandscapeFlipped or PortraitFlipped value.

Applies to