Alignment Property

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)

public:
property ContentAlignment Alignment {
	virtual ContentAlignment get();
	virtual void set(ContentAlignment value);
}

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:
© 2016 Microsoft