Export (0) Print
Expand All

Legend::ForeColor Property

Gets or sets the color of the legend text.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

property Color ForeColor {
	Color get ();
	void set (Color value);

Property Value

Type: System.Drawing::Color
A Color value that represents the color of the legend text.

The ForeColor property is used to set the legend text color.

.NET Framework

Supported in: 4.6, 4.5, 4
© 2015 Microsoft