LegendCell.Alignment Property

.NET Framework (current version)
 

Gets or sets the alignment of the legend cell contents.

Namespace:   System.Web.UI.DataVisualization.Charting
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.ContentAlignment

A 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
Return to top
Show: