Share via


Hyperlink.UnderlineStyle Property

Definition

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

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

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