LegendItem.BorderWidth Property

.NET Framework (current version)
 

Gets or sets the border width of a legend item.

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

[BindableAttribute(true)]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
public int BorderWidth { get; set; }

Property Value

Type: System.Int32

An integer value that determines the width, in pixels, of the legend item border.

The BorderWidth property can also be used to set the width of lines when, for example, custom legend items are displayed with a Line style.

Note   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: