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)

[<BindableAttribute(true)>]
[<TypeConverterAttribute(typeof(ColorConverter))>]
[<PersistenceModeAttribute(PersistenceMode.Attribute)>]
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
Show: