Share via


DeviceDisplay.KeepScreenOn Property

Definition

Gets or sets if the screen should be kept on.

public:
 static property bool KeepScreenOn { bool get(); void set(bool value); };
public static bool KeepScreenOn { get; set; }
static member KeepScreenOn : bool with get, set
Public Shared Property KeepScreenOn As Boolean

Property Value

If the screen keep on is set.

Applies to