Legend::TitleAlignment Property

.NET Framework (current version)
 

Gets or sets the alignment of the legend title.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public:
property StringAlignment TitleAlignment {
	StringAlignment get();
	void set(StringAlignment value);
}

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
Show: