DisplayStatus Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines values that represent the status of the display that is associated with the app's session.
public enum class DisplayStatus
/// [Windows.Foundation.Metadata.Version(1)]
enum class DisplayStatus
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.System.Power.PowerNotificationsContract, 65536)]
enum class DisplayStatus
[Windows.Foundation.Metadata.Version(1)]
public enum DisplayStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.System.Power.PowerNotificationsContract), 65536)]
public enum DisplayStatus
var value = Microsoft.Windows.System.Power.DisplayStatus.off
Public Enum DisplayStatus
- Inheritance
-
DisplayStatus
- Attributes
Fields
Name | Value | Description |
---|---|---|
Off | 0 | The display is off. |
On | 1 | The display is on. |
Dimmed | 2 | The display is dimmed. |
Remarks
This enum corresponds to the GUID_SESSION_DISPLAY_STATUS power setting GUID.