Επεξεργασία

Κοινή χρήση μέσω


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

Property Value

A Color value used to draw the border color of a legend item. 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