This documentation is archived and is not being maintained.

DataGrid.LinkHoverColor Property

Gets or sets the color a link changes to when the mouse pointer moves over it.

[Visual Basic]
<ComVisible(False)>
Public Property LinkHoverColor As Color
[C#]
[ComVisible(false)]
public Color LinkHoverColor {get; set;}
[C++]
[ComVisible(false)]
public: __property Color get_LinkHoverColor();
public: __property void set_LinkHoverColor(Color);
[JScript]
public
   ComVisible(false)
function get LinkHoverColor() : Color;
public function set LinkHoverColor(Color);

Property Value

A Color that represents the color of a link when the mouse pointer moves over it. The default is HotTrack.

Example

[Visual Basic] The following example sets the LinkHoverColor.

[Visual Basic] 
Private Sub SetLinkHoverClr(ByRef myGrid As DataGrid)
    myGrid.LinkHoverColor = System.Drawing.Color.Tomato
 End Sub

[C#, C++, JScript] No example is available for C#, C++, or JScript. To view a Visual Basic example, click the Language Filter button Language Filter in the upper-left corner of the page.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

DataGrid Class | DataGrid Members | System.Windows.Forms Namespace | LinkColor

Show: