Legend.ForeColor Property

.NET Framework (current version)

Gets or sets the color of the legend text.

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

member ForeColor : Color with get, set

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
Available since 4.0
Return to top