LegendCell.Alignment Property
.NET Framework (current version)
Gets or sets the alignment of the legend cell contents.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
abstract Alignment : ContentAlignment with get, set override Alignment : ContentAlignment with get, set
Property Value
Type: System.Drawing.ContentAlignmentA ContentAlignment value that represents the alignment of the legend cell contents. The default value is MiddleCenter.
The Alignment property is used to align text, series symbols or images within the legend cell.
.NET Framework
Available since 4.0
Available since 4.0
Show: