This documentation is archived and is not being maintained.

DataGridTableStyle.SelectionForeColor Property

Gets or sets the foreground color of selected cells.

[Visual Basic]
Public Property SelectionForeColor As Color
public Color SelectionForeColor {get; set;}
public: __property Color get_SelectionForeColor();
public: __property void set_SelectionForeColor(Color);
public function get SelectionForeColor() : Color;
public function set SelectionForeColor(Color);

Property Value

The Color that represents the foreground color of selected cells.



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

DataGridTableStyle Class | DataGridTableStyle Members | System.Windows.Forms Namespace | ResetSelectionForeColor | SelectionBackColor | SelectionForeColorChanged | ShouldSerializeSelectionForeColor