ToolStripLabel::VisitedLinkColor Property
Gets or sets the color used when displaying a link that that has been previously visited.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
This property enables you to specify the color that is displayed for all links in the ToolStripLabel that have been visited by the user.
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. |
The following code example demonstrates how to initialize a ToolStripLabel to contain a link by setting the IsLink, LinkColor, ActiveLinkColor, VisitedLinkColor, LinkVisited and LinkBehavior properties.
Available since 2.0
