This documentation is archived and is not being maintained.

Title::Alignment Property

Gets or sets the alignment of the title.

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

[PersistenceModeAttribute(PersistenceMode::Attribute)]
[BindableAttribute(true)]
public:
property ContentAlignment Alignment {
	ContentAlignment get ();
	void set (ContentAlignment value);
}

Property Value

Type: System.Drawing::ContentAlignment
A ContentAlignment enumeration value that represents the title alignment within the text drawing area. The default value is MiddleCenter.

The Alignment property has no effect on alignment if the Position property is not set to Auto.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: