Alligning a line of text in a textbox

  • Thread starter Thread starter Rocketman
  • Start date Start date
Rocketman,

I don't believe you can control the alignment of text in a textbox.
However, if you are using a label, you can easily set the TextAlign property
to a value from the ContentAlignment enumeration to indicate that it should
be aligned with the top or bottom of the control.

Hope this helps.
 
Back
Top