BrightnessOverrideSettings Class
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.
Contains the settings to use when overriding the screen brightness with DisplayEnhancementOverride on a device.
public ref class BrightnessOverrideSettings sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class BrightnessOverrideSettings final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class BrightnessOverrideSettings
Public NotInheritable Class BrightnessOverrideSettings
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10, version 1803 (introduced in 10.0.17134.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v6.0)
|
Properties
DesiredLevel |
Gets the desired brightness level. |
DesiredNits |
Gets the desired Nits level. |
Methods
CreateFromDisplayBrightnessOverrideScenario(DisplayBrightnessOverrideScenario) |
Creates a BrightnessOverrideSettings object with a brightness level corresponding to the specified brightness scenario. |
CreateFromLevel(Double) |
Creates a BrightnessOverrideSettings object with the specified brightness level. |
CreateFromNits(Single) |
Creates a BrightnessOverrideSettings object with the specified brightness in nits. |