Legend.ForeColor Property

Definition

Gets or sets the color of the legend text.

C#
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))]
public System.Drawing.Color ForeColor { get; set; }

Property Value

A Color value that specifies the color of the legend text.

Attributes

Remarks

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

Applies to

Produkt Versiounen
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1