BrightnessOverride.BrightnessLevel Property
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.
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
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.