Hyperlink.UnderlineStyle Property

Definition

Gets or sets a value that indicates what kind of underline is shown under the hyperlink.

Equivalent WinUI property: Microsoft.UI.Xaml.Documents.Hyperlink.UnderlineStyle.

public:
 property UnderlineStyle UnderlineStyle { UnderlineStyle get(); void set(UnderlineStyle value); };
UnderlineStyle UnderlineStyle();

void UnderlineStyle(UnderlineStyle value);
public UnderlineStyle UnderlineStyle { get; set; }
var underlineStyle = hyperlink.underlineStyle;
hyperlink.underlineStyle = underlineStyle;
Public Property UnderlineStyle As UnderlineStyle

Property Value

UnderlineStyle

An enumeration value that specifies what kind of underline is shown. The default is Single.

Remarks

By default, Hyperlink elements are underlined with a single, solid line. To turn off the underline, set this property to None.

Applies to