Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

HyperlinkLabelControl.LinkBehavior Property

Gets or sets when links should be underlined.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(LinkBehavior.SystemDefault)]
[DXCategory("Behavior")]
public LinkBehavior LinkBehavior { get; set; }

#Property Value

Type Default Description
LinkBehavior SystemDefault

A value that specifies when links should be underlined.

#Remarks

The default underlining link text behavior (when the LinkBehavior property is set to SystemDefault) is specified by the “Underline links” option accessible from the system Internet Options dialog box. This dialog can be opened from the system Control Panel or Internet Explorer.

To always underline link text, set the LinkBehavior property to AlwaysUnderline. If you choose the NeverUnderline value, the link text is never underlined. If this property is set to HoverUnderline, links are underlined only when the mouse is hovered over them.

See Also