UnderlineType UnderlineType UnderlineType UnderlineType UnderlineType Enum


Specifies the type of character underlining.

public : enum class UnderlineType
enum class winrt::Windows::UI::Text::UnderlineType : int32_t
public enum UnderlineType
Public Enum UnderlineType
var value = Windows.UI.Text.UnderlineType.dash;
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Dash Dash Dash Dash Dash 6

A dashed line.

DashDot DashDot DashDot DashDot DashDot 7

Alternating dashes and dots.

DashDotDot DashDotDot DashDotDot DashDotDot DashDotDot 8

Single dashes, each followed by two dots.

Dotted Dotted Dotted Dotted Dotted 5

A dotted line.

Double Double Double Double Double 4

Two solid double lines.

DoubleWave DoubleWave DoubleWave DoubleWave DoubleWave 12

Two wavy lines.

HeavyWave HeavyWave HeavyWave HeavyWave HeavyWave 13

A thick wavy line.

LongDash LongDash LongDash LongDash LongDash 14

Long dashes.

None None None None None 1

Characters are not underlined.

Single Single Single Single Single 2

A single solid line.

Thick Thick Thick Thick Thick 10

A thick solid line.

ThickDash ThickDash ThickDash ThickDash ThickDash 15

Thick dashes.

ThickDashDot ThickDashDot ThickDashDot ThickDashDot ThickDashDot 16

Thick, alternating dashes and dots.

ThickDashDotDot ThickDashDotDot ThickDashDotDot ThickDashDotDot ThickDashDotDot 17

Thick single dashes, each followed by two thick dots.

ThickDotted ThickDotted ThickDotted ThickDotted ThickDotted 18

A thick dotted line.

ThickLongDash ThickLongDash ThickLongDash ThickLongDash ThickLongDash 19

Thick long dashes.

Thin Thin Thin Thin Thin 11

A thin solid line.

Undefined Undefined Undefined Undefined Undefined 0

No underline type is defined.

Wave Wave Wave Wave Wave 9

A wavy line.

Words Words Words Words Words 3

Underline words, but not the spaces between words.

See Also