UnderlineType enumeration

Applies to Windows and Windows Phone

Specifies the type of character underlining.

Syntax


var value = Windows.UI.Text.UnderlineType.undefined;

Attributes

[Version(0x06020000)]

Members

The UnderlineType enumeration has these members.

MemberValueDescription
Undefined | undefined0

No underline type is defined.

None | none1

Characters are not underlined.

Single | single2

A single solid line.

Words | words3

Underline words, but not the spaces between words.

Double | double4

Two solid double lines.

Dotted | dotted5

A dotted line.

Dash | dash6

A dashed line.

DashDot | dashDot7

Alternating dashes and dots.

DashDotDot | dashDotDot8

Single dashes, each followed by two dots.

Wave | wave9

A wavy line.

Thick | thick10

A thick solid line.

Thin | thin11

A thin solid line.

DoubleWave | doubleWave12

Two wavy lines.

HeavyWave | heavyWave13

A thick wavy line.

LongDash | longDash14

Long dashes.

ThickDash | thickDash15

Thick dashes.

ThickDashDot | thickDashDot16

Thick, alternating dashes and dots.

ThickDashDotDot | thickDashDotDot17

Thick single dashes, each followed by two thick dots.

ThickDotted | thickDotted18

A thick dotted line.

ThickLongDash | thickLongDash19

Thick long dashes.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Text
Windows::UI::Text [C++]

Metadata

Windows.winmd

See also

ITextCharacterFormat.Underline

 

 

Show:
© 2014 Microsoft