Version

TextAlignment Enumeration

The TextAlignment Enumeration describes the different horizontal alignment values that can be used to display text.
Syntax
'Declaration
 
Public Enum TextAlignment 
   Inherits System.Enum
public enum TextAlignment : System.Enum 
Members
MemberDescription
CenterThe Text is centered between the left and right edge of the container.
LeftThe Text is Left-Aligned, appearing closest to the left-most edge.
RightThe text is Right-Aligned, appearing closest to the right-most edge.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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

See Also