U​IElement​Type U​IElement​Type U​IElement​Type Enum


Defines the set of user interface element types.

public : enum class UIElementTypepublic enum UIElementTypePublic Enum UIElementType
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


ActiveCaption ActiveCaption ActiveCaption

An active caption element.

Background Background Background

A background element.

ButtonFace ButtonFace ButtonFace

A button face element.

ButtonText ButtonText ButtonText

The text displayed on a button.

CaptionText CaptionText CaptionText

The text displayed in a caption.

GrayText GrayText GrayText

Greyed text.

Highlight Highlight Highlight

A highlighted user interface (UI) element.

HighlightText HighlightText HighlightText

Highlighted text.

Hotlight Hotlight Hotlight

A hotlighted UI element.

InactiveCaption InactiveCaption InactiveCaption

An inactive caption element.

InactiveCaptionText InactiveCaptionText InactiveCaptionText

The text displayed in an inactive caption element.

Window Window Window

A window.

WindowText WindowText WindowText

The text displayed in a window's UI decoration.