Bearbeiten

Freigeben über


LegendItem.MarkerBorderColor Property

Definition

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

public:
 property System::Drawing::Color MarkerBorderColor { 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 MarkerBorderColor { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.MarkerBorderColor : System.Drawing.Color with get, set
Public Property MarkerBorderColor As Color

Property Value

A Color value that represents the ARGB (alpha, red, green, blue) color of a marker border.

Attributes

Remarks

To use markers, set the MarkerStyle property to a value other than None.

Note that markers will not be applied to pie, doughnut, and any stacked chart types.

For custom legends, the BorderColor property will also set the border color of markers. The MarkerBorderColor property setting has precedence over the BorderColor property setting.

Note

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

Applies to