LegendCell.BackColor Property

.NET Framework (current version)

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)

abstract BackColor : Color with get, set
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