Gets or sets the title's alignment.
Title alignment.
Visual Basic (Declaration) | |
---|---|
Public Property Alignment As ContentAlignment |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public ContentAlignment Alignment {get; set;} |
Return Value
A .NET Framework ContentAlignment enumeration value that represents the Title alignment within the text drawing region. The default is MiddleCenter.
A .NET Framework ContentAlignment enumeration value that represents the Title alignment within the text drawing region. The default is MiddleCenter.
This property has no effect if the Position property is not set to "Auto".
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family