Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UIElementType enumeration

Defines the set of user interface element types.


var value = Windows.UI.ViewManagement.UIElementType.activeCaption;


The UIElementType enumeration has these members.

ActiveCaption | activeCaption0

An active caption element.

Background | background1

A background element.

ButtonFace | buttonFace2

A button face element.

ButtonText | buttonText3

The text displayed on a button.

CaptionText | captionText4

The text displayed in a caption.

GrayText | grayText5

Greyed text.

Highlight | highlight6

A highlighted user interface (UI) element.

HighlightText | highlightText7

Highlighted text.

Hotlight | hotlight8

A hotlighted UI element.

InactiveCaption | inactiveCaption9

An inactive caption element.

InactiveCaptionText | inactiveCaptionText10

The text displayed in an inactive caption element.

Window | window11

A window.

WindowText | windowText12

The text displayed in a window's UI decoration.

AccentColor | accentColor1000

Windows Phone only. The phone's accent color.

TextHigh | textHigh1001

Windows Phone only. High contrast text.

TextMedium | textMedium1002

Windows Phone only. Medium contrast text.

TextLow | textLow1003

Windows Phone only. Low contrast text.

TextContrastWithHigh | textContrastWithHigh1004

Windows Phone only. Text that contrasts with TextHigh.

NonTextHigh | nonTextHigh1005

Windows Phone only. High contrast non-text content.

NonTextMediumHigh | nonTextMediumHigh1006

Windows Phone only. Medium-high contrast non-text content.

NonTextMedium | nonTextMedium1007

Windows Phone only. Medium contrast non-text content.

NonTextMediumLow | nonTextMediumLow1008

Windows Phone only. Medium-low contrast non-text content.

NonTextLow | nonTextLow1009

Windows Phone only. Low contrast non-text content.

PageBackground | pageBackground1010

Windows Phone only. The background of a normal page.

PopupBackground | popupBackground1011

Windows Phone only. The background of a pop-up dialog.

OverlayOutsidePopup | overlayOutsidePopup1012

Windows Phone only. The partially-opaque color applied to the area of the screen outside of a pop-up dialog in order to dim the background and highlight the pop-up.

Requirements (Windows 10 device family)

Device family


API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0


Windows::UI::ViewManagement [C++]



Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8


Windows::UI::ViewManagement [C++]







© 2015 Microsoft