Back to Devexpress

HyperlinkLabelControl.LinkBehavior Property

windowsforms-devexpress-dot-xtraeditors-dot-hyperlinklabelcontrol.md

latest1.9 KB
Original Source

HyperlinkLabelControl.LinkBehavior Property

Gets or sets when links should be underlined.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(LinkBehavior.SystemDefault)]
[DXCategory("Behavior")]
public LinkBehavior LinkBehavior { get; set; }
vb
<DefaultValue(LinkBehavior.SystemDefault)>
<DXCategory("Behavior")>
Public Property LinkBehavior As LinkBehavior

Property Value

TypeDefaultDescription
LinkBehaviorSystemDefault

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

HyperlinkLabelControl Class

HyperlinkLabelControl Members

DevExpress.XtraEditors Namespace