TextDecorations TextDecorations TextDecorations TextDecorations Enum


Defines constants that specify the decorations applied to text.

This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.

public : enum class TextDecorations
enum class winrt::Windows::UI::Text::TextDecorations : uint32_t
public enum TextDecorations
Public Enum TextDecorations

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)


None None None None 0

No text decorations are applied.

Strikethrough Strikethrough Strikethrough Strikethrough 2

Strikethrough is applied to the text.

Underline Underline Underline Underline 1

Underline is applied to the text.


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

See also