共用方式為


DeviceDisplay.KeepScreenOn 屬性

定義

取得或設定是否應該保留畫面。

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

屬性值

如果畫面保持開啟已設定。

適用於