Share via


UIElementType Enum

Definition

Defines the set of user interface element types.

public enum class UIElementType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class UIElementType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum UIElementType
var value = Windows.UI.ViewManagement.UIElementType.activeCaption
Public Enum UIElementType
Inheritance
UIElementType
Attributes

Windows requirements

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

Fields

Name Value Description
ActiveCaption 0

An active caption element.

Background 1

A background element.

ButtonFace 2

A button face element.

ButtonText 3

The text displayed on a button.

CaptionText 4

The text displayed in a caption.

GrayText 5

Grayed text.

Highlight 6

A highlighted user interface (UI) element.

HighlightText 7

Highlighted text.

Hotlight 8

A hotlighted UI element.

InactiveCaption 9

An inactive caption element.

InactiveCaptionText 10

The text displayed in an inactive caption element.

Window 11

A window.

WindowText 12

The text displayed in a window's UI decoration.

AccentColor 1000

Windows accent color (Settings -> Personalization -> Colors -> Choose your accent color).

TextHigh 1001

Text ink highlighter high color.

TextMedium 1002

Text ink highlighter medium color.

TextLow 1003

Text ink highlighter low color.

TextContrastWithHigh 1004

Text contrast with ink highlighter.

NonTextHigh 1005

Non-text ink highlighter high color.

NonTextMediumHigh 1006

Non-text ink highlighter medium-high color.

NonTextMedium 1007

Non-text ink highlighter medium color.

NonTextMediumLow 1008

Non-text ink highlighter medium-low color.

NonTextLow 1009

Non-text ink highlighter low color.

PageBackground 1010

Page background.

PopupBackground 1011

Popup background.

OverlayOutsidePopup 1012

Popup outside overlay.

Applies to