HtmlDocument.ActiveLinkColor Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the Color of a hyperlink when clicked by a user.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public Color ActiveLinkColor { get; set; }

Property Value

Type: System.Drawing.Color

The Color for active links.

A link is active when a user is clicking on it. Change this property to change the color of the link prior to navigation.

The Color type in the .NET Framework supports an Alpha value, but the HTML DOM does not. Therefore, Alpha will have no effect when assigned to this property.

.NET Framework
Available since 2.0
Return to top