LegendItem.BorderDashStyle Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the border style of a legend item.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

[BindableAttribute(true)]
public ChartDashStyle BorderDashStyle { get; set; }

Property Value

Type: System.Windows.Forms.DataVisualization.Charting.ChartDashStyle

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

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.

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: