ColorOverrideSettings 类

定义

包含在设备上使用 DisplayEnhancementOverride 重写屏幕颜色设置时要使用的设置。

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
继承
Object Platform::Object IInspectable ColorOverrideSettings
属性

Windows 要求

设备系列
Windows 10, version 1803 (在 10.0.17134.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v6.0 中引入)

属性

DesiredDisplayColorOverrideScenario

检索所需的颜色替代方案。

方法

CreateFromDisplayColorOverrideScenario(DisplayColorOverrideScenario)

根据指定的替代方案创建一组颜色替代设置。

适用于