LegendItem.BorderColor Property

.NET Framework (current version)
 

Gets or sets the border color of a legend item.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

[<BindableAttribute(true)>]
[<TypeConverterAttribute(typeof(ColorConverter))>]
[<PersistenceModeAttribute(PersistenceMode.Attribute)>]
member BorderColor : Color with get, set

Property Value

Type: System.Drawing.Color

A Color value. The default color is Empty.

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

System_CAPS_noteNote

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.

System_CAPS_noteNote

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

.NET Framework
Available since 4.0
Return to top
Show: