Jaa


DisplayEnhancementOverride Class

Definition

Contains the base features that describe how to override setting displays.

public ref class DisplayEnhancementOverride 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 DisplayEnhancementOverride 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 DisplayEnhancementOverride
Public NotInheritable Class DisplayEnhancementOverride
Inheritance
Object Platform::Object IInspectable DisplayEnhancementOverride
Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

This class acts as a base class for ColorOverrideSettings and BrightnessOverride.

Properties

BrightnessOverrideSettings

Gets and sets the brightness override settings.

CanOverride

Gets a value that describes whether the current display settings can be overridden.

ColorOverrideSettings

Gets and sets the color override settings.

IsOverrideActive

Gets a value that describes whether the display enhancement overrides are active.

Methods

GetCurrentDisplayEnhancementOverrideCapabilities()

Retrieves the current display enhancement overide capabilities.

GetForCurrentView()

Retrieves a display enhancement override object for the current view.

RequestOverride()

Requests that the current display be overridden with the current display override settings.

StopOverride()

Notifies the system that this display enhancement object no longer wants to apply its settings.

Events

CanOverrideChanged

Raised when the ability to override the display settings have been changed.

DisplayEnhancementOverrideCapabilitiesChanged

Raised when the display enhancement override capabilities have been changed.

IsOverrideActiveChanged

Raised when the IsOverrideActive property is changed.

Applies to