HyperlinkButton.AlwaysUnderlineProperty Field

Definition

Attached property that specifies the hyperlink underline behavior. Hyperlinks are generally underlined only in the hover state, this property allows them to be underlined in all states. This should be set for hyperlinks that are part of a sentence, to make the distinction between hyperlinks and regular text clearer, as color contrast between regular text and hyperlinks is not guaranteed to be sufficient under all VS themes.

C#
public static readonly System.Windows.DependencyProperty AlwaysUnderlineProperty;

Field Value

Applies to

Product Versions
Visual Studio SDK 2022