UIElementType UIElementType UIElementType UIElementType Enum


Defines the set of user interface element types.

public : enum class UIElementTypepublic enum UIElementTypePublic Enum UIElementType// You can use this enum in JavaScript.
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


AccentColor AccentColor AccentColor AccentColor
ActiveCaption ActiveCaption ActiveCaption ActiveCaption

An active caption element.

Background Background Background Background

A background element.

ButtonFace ButtonFace ButtonFace ButtonFace

A button face element.

ButtonText ButtonText ButtonText ButtonText

The text displayed on a button.

CaptionText CaptionText CaptionText CaptionText

The text displayed in a caption.

GrayText GrayText GrayText GrayText

Greyed text.

Highlight Highlight Highlight Highlight

A highlighted user interface (UI) element.

HighlightText HighlightText HighlightText HighlightText

Highlighted text.

Hotlight Hotlight Hotlight Hotlight

A hotlighted UI element.

InactiveCaption InactiveCaption InactiveCaption InactiveCaption

An inactive caption element.

InactiveCaptionText InactiveCaptionText InactiveCaptionText InactiveCaptionText

The text displayed in an inactive caption element.

NonTextHigh NonTextHigh NonTextHigh NonTextHigh
NonTextLow NonTextLow NonTextLow NonTextLow
NonTextMedium NonTextMedium NonTextMedium NonTextMedium
NonTextMediumHigh NonTextMediumHigh NonTextMediumHigh NonTextMediumHigh
NonTextMediumLow NonTextMediumLow NonTextMediumLow NonTextMediumLow
OverlayOutsidePopup OverlayOutsidePopup OverlayOutsidePopup OverlayOutsidePopup
PageBackground PageBackground PageBackground PageBackground
PopupBackground PopupBackground PopupBackground PopupBackground
TextContrastWithHigh TextContrastWithHigh TextContrastWithHigh TextContrastWithHigh
TextHigh TextHigh TextHigh TextHigh
TextLow TextLow TextLow TextLow
TextMedium TextMedium TextMedium TextMedium
Window Window Window Window

A window.

WindowText WindowText WindowText WindowText

The text displayed in a window's UI decoration.