Delen via


TextConstants Class

Definition

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

public ref class TextConstants abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class TextConstants final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class TextConstants
Public Class TextConstants
Inheritance
Object Platform::Object IInspectable TextConstants
Attributes

Windows requirements

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

Properties

AutoColor

Gets the default color.

MaxUnitCount

Gets the maximum unit count.

MinUnitCount

Gets the minimum unit count.

UndefinedColor

Gets the undefined color value.

UndefinedFloatValue

Gets the undefined floating-point value.

UndefinedFontStretch

Gets the undefined font stretch value.

UndefinedFontStyle

Gets the undefined font style.

UndefinedInt32Value

Gets the undefined 32-bit integer value.

Applies to