A newer version of this page is available. Switch to the current version.

HyperlinkLabelControl.LinkBehavior Property

Gets or sets when links should be underlined.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll

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