Muokkaa

Jaa


LegendItem.BorderColor Property

Definition

Gets or sets the border color of a legend item.

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

Property Value

A Color value. The default color is Empty.

Attributes

Remarks

You can set this property to any valid ARGB (alpha, red, green, blue) value.

Note

If you use a marker for a custom legend item. this property will set the border color of the marker. However, if the MarkerBorderColor property is also set, its value has precedence.

Note

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

Applies to