Share via


DisplayStatus Enum

Definition

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.

Applies to

See also