SystemSettings.ScreenOrientation Property
.NET Framework 3.0
Gets or sets the current screen orientation of a device.
Namespace: Microsoft.WindowsCE.Forms
Assembly: Microsoft.WindowsCE.Forms (in microsoft.windowsce.forms.dll)
Assembly: Microsoft.WindowsCE.Forms (in microsoft.windowsce.forms.dll)
/** @property */ public static ScreenOrientation get_ScreenOrientation () /** @property */ public static void set_ScreenOrientation (ScreenOrientation value)
public static function get ScreenOrientation () : ScreenOrientation public static function set ScreenOrientation (value : ScreenOrientation)
Not applicable.
Property Value
One of the ScreenOrientation values, which are 0, 90, 180, and 270. The default is 0.The following code example sets the value of this property to 0 and displays the value in a status bar. This code example is part of a larger example provided for the SystemSettings class.
Community Additions
ADD
Show: