Title.Alignment Property

Definition

Gets or sets the alignment of the title.

C#
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Drawing.ContentAlignment Alignment { get; set; }

Property Value

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

Attributes

Remarks

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

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1