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.LinkColor

Gets or sets the color of links between parent and child tables.

[Visual Basic]
Public Property LinkColor As Color
[C#]
public Color LinkColor {get; set;}
[C++]
public: __property Color get_LinkColor();
public: __property void set_LinkColor(Color);
[JScript]
public function get LinkColor() : Color;
public function set LinkColor(Color);

Property Value

A Color that represents the color of links. 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 color of links between parent and child tables.

[Visual Basic]

Private Sub SetLinkColor(ByVal myGrid As DataGrid)
   Set myGrid.LinkColor = New System.Drawing.Color.Green
End Sub

See Also

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