UnderlineType UnderlineType UnderlineType UnderlineType Enum

Specifies the type of character underlining.

Syntax

Declaration

public enum UnderlineTypepublic enum UnderlineTypePublic Enum UnderlineTypepublic enum UnderlineType

Fields

Dash
Dash
Dash
Dash

A dashed line.

DashDot
DashDot
DashDot
DashDot

Alternating dashes and dots.

DashDotDot
DashDotDot
DashDotDot
DashDotDot

Single dashes, each followed by two dots.

Dotted
Dotted
Dotted
Dotted

A dotted line.

Double
Double
Double
Double

Two solid double lines.

DoubleWave
DoubleWave
DoubleWave
DoubleWave

Two wavy lines.

HeavyWave
HeavyWave
HeavyWave
HeavyWave

A thick wavy line.

LongDash
LongDash
LongDash
LongDash

Long dashes.

None
None
None
None

Characters are not underlined.

Single
Single
Single
Single

A single solid line.

Thick
Thick
Thick
Thick

A thick solid line.

ThickDash
ThickDash
ThickDash
ThickDash

Thick dashes.

ThickDashDot
ThickDashDot
ThickDashDot
ThickDashDot

Thick, alternating dashes and dots.

ThickDashDotDot
ThickDashDotDot
ThickDashDotDot
ThickDashDotDot

Thick single dashes, each followed by two thick dots.

ThickDotted
ThickDotted
ThickDotted
ThickDotted

A thick dotted line.

ThickLongDash
ThickLongDash
ThickLongDash
ThickLongDash

Thick long dashes.

Thin
Thin
Thin
Thin

A thin solid line.

Undefined
Undefined
Undefined
Undefined

No underline type is defined.

Wave
Wave
Wave
Wave

A wavy line.

Words
Words
Words
Words

Underline words, but not the spaces between words.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.UI.Text.dll