LegendCellColumn.Margins 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 margins of the legend cell column.

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

public virtual Margins Margins { get; set; }

Property Value

Type: System.Web.UI.DataVisualization.Charting.Margins

A Margins object that represents the top, bottom, left, and right values of the legend cell margins. The default values for top, bottom, left and right are "0,0,15,15".

This property is measured as a percentage of the legend font size.

.NET Framework
Available since 4.0
Return to top