UIElementType UIElementType UIElementType UIElementType UIElementType Enum


Defines the set of user interface element types.

public : enum class UIElementType
enum class winrt::Windows::UI::ViewManagement::UIElementType : int32_t
public enum UIElementType
Public Enum UIElementType
var value = Windows.UI.ViewManagement.UIElementType.accentColor;

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


AccentColor AccentColor AccentColor AccentColor AccentColor 1000
ActiveCaption ActiveCaption ActiveCaption ActiveCaption ActiveCaption 0

An active caption element.

Background Background Background Background Background 1

A background element.

ButtonFace ButtonFace ButtonFace ButtonFace ButtonFace 2

A button face element.

ButtonText ButtonText ButtonText ButtonText ButtonText 3

The text displayed on a button.

CaptionText CaptionText CaptionText CaptionText CaptionText 4

The text displayed in a caption.

GrayText GrayText GrayText GrayText GrayText 5

Greyed text.

Highlight Highlight Highlight Highlight Highlight 6

A highlighted user interface (UI) element.

HighlightText HighlightText HighlightText HighlightText HighlightText 7

Highlighted text.

Hotlight Hotlight Hotlight Hotlight Hotlight 8

A hotlighted UI element.

InactiveCaption InactiveCaption InactiveCaption InactiveCaption InactiveCaption 9

An inactive caption element.

InactiveCaptionText InactiveCaptionText InactiveCaptionText InactiveCaptionText InactiveCaptionText 10

The text displayed in an inactive caption element.

NonTextHigh NonTextHigh NonTextHigh NonTextHigh NonTextHigh 1005
NonTextLow NonTextLow NonTextLow NonTextLow NonTextLow 1009
NonTextMedium NonTextMedium NonTextMedium NonTextMedium NonTextMedium 1007
NonTextMediumHigh NonTextMediumHigh NonTextMediumHigh NonTextMediumHigh NonTextMediumHigh 1006
NonTextMediumLow NonTextMediumLow NonTextMediumLow NonTextMediumLow NonTextMediumLow 1008
OverlayOutsidePopup OverlayOutsidePopup OverlayOutsidePopup OverlayOutsidePopup OverlayOutsidePopup 1012
PageBackground PageBackground PageBackground PageBackground PageBackground 1010
PopupBackground PopupBackground PopupBackground PopupBackground PopupBackground 1011
TextContrastWithHigh TextContrastWithHigh TextContrastWithHigh TextContrastWithHigh TextContrastWithHigh 1004
TextHigh TextHigh TextHigh TextHigh TextHigh 1001
TextLow TextLow TextLow TextLow TextLow 1003
TextMedium TextMedium TextMedium TextMedium TextMedium 1002
Window Window Window Window Window 11

A window.

WindowText WindowText WindowText WindowText WindowText 12

The text displayed in a window's UI decoration.