共用方式為


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

適用於

另請參閱