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

A dashed line.

DashDot DashDot DashDot DashDot DashDot

Alternating dashes and dots.

DashDotDot DashDotDot DashDotDot DashDotDot DashDotDot

Single dashes, each followed by two dots.

Dotted Dotted Dotted Dotted Dotted

A dotted line.

Double Double Double Double Double

Two solid double lines.

DoubleWave DoubleWave DoubleWave DoubleWave DoubleWave

Two wavy lines.

HeavyWave HeavyWave HeavyWave HeavyWave HeavyWave

A thick wavy line.

LongDash LongDash LongDash LongDash LongDash

Long dashes.

None None None None None

Characters are not underlined.

Single Single Single Single Single

A single solid line.

Thick Thick Thick Thick Thick

A thick solid line.

ThickDash ThickDash ThickDash ThickDash ThickDash

Thick dashes.

ThickDashDot ThickDashDot ThickDashDot ThickDashDot ThickDashDot

Thick, alternating dashes and dots.

ThickDashDotDot ThickDashDotDot ThickDashDotDot ThickDashDotDot ThickDashDotDot

Thick single dashes, each followed by two thick dots.

ThickDotted ThickDotted ThickDotted ThickDotted ThickDotted

A thick dotted line.

ThickLongDash ThickLongDash ThickLongDash ThickLongDash ThickLongDash

Thick long dashes.

Thin Thin Thin Thin Thin

A thin solid line.

Undefined Undefined Undefined Undefined Undefined

No underline type is defined.

Wave Wave Wave Wave Wave

A wavy line.

Words Words Words Words Words

Underline words, but not the spaces between words.

See Also