Skip to content
ConsoleMonster

API Reference

Enum

TextDecoration

Namespace ConsoleMonster.Styling
Assembly ConsoleMonster
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed
Attributes
Flags

Text decorations, combinable as flags.

Inheritance

  • Enum
  • TextDecoration

Usage

Explore 18 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 8

Values

public const TextDecoration None #

No decoration.

Value: 0
public const TextDecoration Bold #

Bold (or bright on terminals that map bold to intensity).

Value: 1
public const TextDecoration Dim #

Dim / faint.

Value: 2
public const TextDecoration Italic #

Italic.

Value: 4
public const TextDecoration Underline #

Underline.

Value: 8
public const TextDecoration Strikethrough #

Strikethrough.

Value: 16
public const TextDecoration Reverse #

Swap foreground and background.

Value: 32