Jaa


BrightnessOverride.BrightnessLevel Property

Definition

Gets the screen brightness level for this BrightnessOverride instance (if you've previously called SetBrightnessLevel to set the brightness level).

Note

When you first retrieve an initialized BrightnessOverride object from GetDefaultForSystem or from GetForCurrentView, the value of that object's BrightnessLevel property is undefined (the value doesn't, for example, represent the current system brightness level). You need to first call SetBrightnessLevel to set a brightness level.

public:
 property double BrightnessLevel { double get(); };
double BrightnessLevel();
public double BrightnessLevel { get; }
var double = brightnessOverride.brightnessLevel;
Public ReadOnly Property BrightnessLevel As Double

Property Value

Double

double

A value representing the screen brightness level for this BrightnessOverride instance (if you've previously called SetBrightnessLevel to set the brightness level). If you haven't previously called SetBrightnessLevel to set the brightness level, then the property value is undefined.

Applies to