UIColorType Enum

Definition

Defines constants that specify known system color values.

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
Inheritance
UIColorType
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Accent 5

The accent color.

AccentDark1 4

The dark accent color.

AccentDark2 3

The darker accent color.

AccentDark3 2

The darkest accent color.

AccentLight1 6

The light accent color.

AccentLight2 7

The lighter accent color.

AccentLight3 8

The lightest accent color.

Background 0

The background color.

Complement 9

Not supported. Do not use.

Foreground 1

The foreground color.

Remarks

See UISettings.GetColorValue.

Applies to

See also