ManagementUIColorTable.HyperlinkPressed Property

Definition

When overridden in a derived class, gets the color of an active hyperlink that the user has clicked in the command bar.

public:
 abstract property System::Drawing::Color HyperlinkPressed { System::Drawing::Color get(); };
public abstract System.Drawing.Color HyperlinkPressed { get; }
member this.HyperlinkPressed : System.Drawing.Color
Public MustOverride ReadOnly Property HyperlinkPressed As Color

Property Value

A Color object that indicates the color of a link that the user has clicked.

Examples

The following example demonstrates the HyperlinkPressed property. This code example is part of a larger example provided for the ManagementUIColorTable class.

ListViewItem item15 = new ListViewItem();
item15.Text = "HyperlinkPressed";
item15.SubItems.Add(uiService.Colors.HyperlinkPressed.ToString());
item15.BackColor = uiService.Colors.HyperlinkPressed;
ListView.Items.Add(item15);

Remarks

This property enables you to determine the color of the hyperlink text after the user clicks the hyperlink. Before the user clicks the hyperlink, the color of the hyperlink is the value of the Hyperlink property.

Applies to