LegendCell.BackColor 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 background color of the legend cell.

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

[<TypeConverterAttribute(typeof(ColorConverter))>]
abstract BackColor : Color with get, set
[<TypeConverterAttribute(typeof(ColorConverter))>]
override BackColor : Color with get, set

Property Value

Type: System.Drawing.Color

A Color value used to draw the legend cell's background.

The BackColor property has the highest priority when setting the background color of any entity in the legend.

.NET Framework
Available since 4.0
Return to top
Show: