LegendCellColumn.Margins Property

.NET Framework (current version)

Gets or sets the margins of the legend cell column.

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

public virtual Margins Margins { get; set; }

Property Value

Type: System.Windows.Forms.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