Edit

Share via


LegendCell.ForeColor Property

Definition

Gets or sets the text color of the legend cell.

public:
 virtual property System::Drawing::Color ForeColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };
[System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))]
public virtual System.Drawing.Color ForeColor { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))>]
member this.ForeColor : System.Drawing.Color with get, set
Public Overridable Property ForeColor As Color

Property Value

A Color value used to draw the legend cell text. The default value is Empty.

Attributes

Remarks

This property is only applicable if the CellType property is set to Text.

Applies to