Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Typeface.UnderlineThickness Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a value that indicates the thickness of the underline relative to the font em size for the typeface.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public double UnderlineThickness { get; }

Property Value

Type: System.Double

A Double that indicates the underline thickness, expressed as a fraction of the font em size.

A return value of 0.05 indicates that the underline thickness is one-twentieth of the font em size, while a return value of 0.1 indicates that the underline thickness is one-tenth of the font em size.

.NET Framework
Available since 3.0
Return to top
© 2017 Microsoft