Legend.TitleAlignment 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 alignment of the legend title.

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

member TitleAlignment : StringAlignment with get, set

Property Value

Type: System.Drawing.StringAlignment

A StringAlignment enumeration value that represents the alignment of the legend title. The default value is Center.

.NET Framework
Available since 4.0
Return to top