Export (0) Print
Expand All

LegendCell::Alignment Property

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:
virtual property ContentAlignment Alignment {
	ContentAlignment get ();
	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

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft