UIColorType 枚举

定义

定义指定已知系统颜色值的常量。

public enum class UIColorType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class UIColorType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum UIColorType
var value = Windows.UI.ViewManagement.UIColorType.background
Public Enum UIColorType
继承
UIColorType
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

字段

Accent 5

主题色。

AccentDark1 4

深色主题色。

AccentDark2 3

较深的主题色。

AccentDark3 2

最深的主题色。

AccentLight1 6

浅色主题色。

AccentLight2 7

较浅的主题色。

AccentLight3 8

最浅的主题色。

Background 0

背景色。

Complement 9

不支持。 请勿使用。

Foreground 1

前景色。

注解

请参阅 UISettings.GetColorValue

适用于

另请参阅