LegendItem.BorderDashStyle Property

Definition

Gets or sets the border style of a legend item.

C#
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Web.UI.DataVisualization.Charting.ChartDashStyle BorderDashStyle { get; set; }

Property Value

A ChartDashStyle enumeration value that determines the border style of the legend item.

Attributes

Remarks

This property determines the line style used for a border. The line can be solid, dotted, and so forth.

For other border styles, see the ChartDashStyle enumeration topic.

Note

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

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1