Udostępnij za pośrednictwem


TextDecorations Enum

Definition

Defines constants that specify the decorations applied to text.

This enumeration supports a bitwise combination of its member values.

public enum class TextDecorations
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class TextDecorations
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum TextDecorations
Public Enum TextDecorations
Inheritance
TextDecorations
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Fields

Name Value Description
None 0

No text decorations are applied.

Underline 1

Underline is applied to the text.

Strikethrough 2

Strikethrough is applied to the text.

Remarks

These enumeration values are used by the TextDecorations property of various text controls. For more info and examples, see the property documentation.

Applies to

See also