Jaa


DisplayBrightnessScenario Enum

Definition

Describes common brightness scenarios that have well-known brightness levels. These scenarios are used in the GetLevelForScenario() and SetBrightnessScenario() methods.

public enum class DisplayBrightnessScenario
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class DisplayBrightnessScenario
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum DisplayBrightnessScenario
var value = Windows.Graphics.Display.DisplayBrightnessScenario.defaultBrightness
Public Enum DisplayBrightnessScenario
Inheritance
DisplayBrightnessScenario
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Fields

Name Value Description
DefaultBrightness 0

Sets the screen to the current screen brightness, essentially freezing the brightness.

IdleBrightness 1

Sets the screen to a battery friendly yet readable brightness level. This is currently set to 10% brightness.

BarcodeReadingBrightness 2

Sets the screen to the brightness level that it is easily readable by barcode readers. This is currently set to 100% brightness.

FullBrightness 3

Sets the screen to 100% brightness.

Applies to