NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataGrid.LinkHoverColor

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

[Visual Basic]
Public Property LinkHoverColor As Color
[C#]
public Color LinkHoverColor {get; set;}
[C++]
public: __property Color get_LinkHoverColor();
public: __property void set_LinkHoverColor(Color);
[JScript]
public 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 the system color for Hover Selection (SystemColors.HotTrack), also known as "hot tracking." Hover Selection, or automatic selection, occurs when the mouse pointer is over an item for more than one second.

Example [Visual Basic]

The following example sets the LinkHoverColor.

[Visual Basic]

Private Sub SetLinkHoverClr(ByRef myGrid As DataGrid)
   Set myGrid.LinkHoverColor = New System.Drawing.Color.Tomato
End Sub

See Also

DataGrid Class | DataGrid Members | System.WinForms Namespace | LinkColor