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

No text decorations are applied.

Strikethrough Strikethrough Strikethrough Strikethrough

Strikethrough is applied to the text.

Underline Underline Underline Underline

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

  • P:Windows.UI.Xaml.Controls.RichTextBlock.TextDecorations - P:Windows.UI.Xaml.Controls.TextBlock.TextDecorations - P:Windows.UI.Xaml.Documents.TextElement.TextDecorations