Gets or sets how text is aligned in the text box. The default value is HorizontalAlignment.Left.

Syntax

public System.Windows.Forms.HorizontalAlignment TextAlign { get; set; }
Public Property TextAlign() As System.Windows.Forms.HorizontalAlignment