Edit

Share via


LegendItem.MarkerColor Property

Definition

Gets or sets the color of the markers, if used.

public:
 property System::Drawing::Color MarkerColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Drawing.Color MarkerColor { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.MarkerColor : System.Drawing.Color with get, set
Public Property MarkerColor As Color

Property Value

A Color value. The default color is Empty.

Attributes

Remarks

This property is applicable only to LegendCell objects with a LegendCellType of either SeriesSymbol or Image.

Applies to