Hyperlink.UnderlineStyle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.