TextConstants TextConstants TextConstants TextConstants Class


Defines a set of constants that are used with various methods in the Windows.UI.Text namespace.

public : static class TextConstants
static struct winrt::Windows::UI::Text::TextConstants
public static class TextConstants
Public Shared Class TextConstants
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


AutoColor AutoColor AutoColor AutoColor

Gets the default color.

MaxUnitCount MaxUnitCount MaxUnitCount MaxUnitCount

Gets the maximum unit count.

MinUnitCount MinUnitCount MinUnitCount MinUnitCount

Gets the minimum unit count.

UndefinedColor UndefinedColor UndefinedColor UndefinedColor

Gets the undefined color value.

UndefinedFloatValue UndefinedFloatValue UndefinedFloatValue UndefinedFloatValue

Gets the undefined floating-point value.

UndefinedFontStretch UndefinedFontStretch UndefinedFontStretch UndefinedFontStretch

Gets the undefined font stretch value.

UndefinedFontStyle UndefinedFontStyle UndefinedFontStyle UndefinedFontStyle

Gets the undefined font style.

UndefinedInt32Value UndefinedInt32Value UndefinedInt32Value UndefinedInt32Value

Gets the undefined 32-bit integer value.