DeviceOrientation
Wisej.Web.Ext.MobileIntegration.DeviceOrientation
Namespace: Wisej.Web.Ext.MobileIntegration
Assembly: Wisej.Web.Ext.MobileIntegration (2.0.0.0)
Indicates the physical orientation of the device.
C#
VB.NET
1
public enum DeviceOrientation : Enum
Copied!
1
Public Enum DeviceOrientation As [Enum]
Copied!

Fields

Name
Description
FaceDown
The device is held parallel to the ground with the screen facing downwards.
FaceUp
The device is held parallel to the ground with the screen facing upwards.
LandscapeLeft
The device is in landscape mode, with the device held upright and the home button on the right side.
LandscapeRight
The device is in landscape mode, with the device held upright and the home button on the left side.
Portrait
The device is in portrait mode, with the device held upright and the home button at the bottom.
PortraitUpSideDown
The device is in portrait mode but upside down, with the device held upright and the home button at the top.
Unknown
The orientation of the device cannot be determined.

Used By

Name
Description
Returns the current device orientation.
The physical orientation of the device.
Last modified 4mo ago
Export as PDF
Copy link