System.Windows.Forms.LinkLabel.ActiveLinkColor Property

Gets or sets the color used to display an active link.

Syntax

public System.Drawing.Color ActiveLinkColor { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

An active link is a link that is in the process of being clicked. This is similar to the depressed state of a System.Windows.Forms.Button control. You can use this property to specify the color that the link is displayed in when the link is in the process of being clicked.

There are a number of colors associated with a link. The LinkLabel.LinkColor specifies the color of all links displayed in the System.Windows.Forms.LinkLabel control. The LinkLabel.VisitedLinkColor property enables you to specify the color of a link after it has been visited by the user. When a link is disabled, the LinkLabel.DisabledLinkColor is used to display the link in a disabled state.

Note:

When setting this property, ensure that the color you are setting the property to does not conflict with the color of the control's background or the text does not display properly. For example, if the background color of the control is Color.Red and this property is set to Color.Red, the text is not shown properly when the link is in the process of being clicked.

Requirements

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