Dela via


ColorOverrideSettings Class

Definition

Contains the settings to use when overriding the screen color settings with DisplayEnhancementOverride on a device.

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

DesiredDisplayColorOverrideScenario

Retrieves the desired color override scenario.

Methods

CreateFromDisplayColorOverrideScenario(DisplayColorOverrideScenario)

Creates a set of color override settings, based on the specified override scenario.

Applies to