System.Windows.Forms.LinkLabel.VisitedLinkColor Property

Gets or sets the color used when displaying a link that that has been previously visited.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

This property enables you to specify the color that is displayed for all links in the LinkLabel System.Windows.Forms that have been visited by the user.

There are a number of colors associated with a link. All links in the System.Windows.Forms.LinkLabel are initially displayed with the color defined in the LinkLabel.LinkColor property. The LinkLabel.ActiveLinkColor property enables you to specify the color of the link when it is in the process of being clicked. 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 displayed as a visited link.

Requirements

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