Table of contents
Collapse the table of content
Expand the table of content

Align text in a control

office 365 dev account|Last Updated: 6/12/2017
1 Contributor
  1. In the Properties window, choose the TextAlign property.

  2. Click the drop-down arrow next to the property's value to display a list of available choices.

  3. Choose one of the following:

  -  **Left** — to align the text with the left edge of the control.
  • Right — to align the text with the right edge of the control.

  • Center — to center the text relative to the length of the control.

TextAlign is available for a ComboBox, Label, and TextBox.

© 2018 Microsoft