System.Windows.Forms.LinkBehavior Enumeration

Specifies the behaviors of a link in a System.Windows.Forms.LinkLabel.

Syntax

public enum LinkBehavior

Remarks

Use the members of this enumeration to set the value of the LinkLabel.LinkBehavior property of the System.Windows.Forms.LinkLabel.

Members

Member NameDescription
AlwaysUnderline

The link always displays with underlined text.

HoverUnderline

The link displays underlined text only when the mouse is hovered over the link text.

NeverUnderline

The link text is never underlined. The link can still be distinguished from other text by use of the LinkLabel.LinkColor property of the System.Windows.Forms.LinkLabel control.

SystemDefault

The behavior of this setting depends on the options set using the Internet Options dialog box in Control Panel or Internet Explorer.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0