Dela via


UnderlineType Enum

Definition

Specifies the type of character underlining.

public enum class UnderlineType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class UnderlineType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum UnderlineType
var value = Windows.UI.Text.UnderlineType.undefined
Public Enum UnderlineType
Inheritance
UnderlineType
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Undefined 0

No underline type is defined.

None 1

Characters are not underlined.

Single 2

A single solid line.

Words 3

Underline words, but not the spaces between words.

Double 4

Two solid double lines.

Dotted 5

A dotted line.

Dash 6

A dashed line.

DashDot 7

Alternating dashes and dots.

DashDotDot 8

Single dashes, each followed by two dots.

Wave 9

A wavy line.

Thick 10

A thick solid line.

Thin 11

A thin solid line.

DoubleWave 12

Two wavy lines.

HeavyWave 13

A thick wavy line.

LongDash 14

Long dashes.

ThickDash 15

Thick dashes.

ThickDashDot 16

Thick, alternating dashes and dots.

ThickDashDotDot 17

Thick single dashes, each followed by two thick dots.

ThickDotted 18

A thick dotted line.

ThickLongDash 19

Thick long dashes.

Applies to

See also