# Text Alignment

## Content



The text-based controls in Input like, TextBox, MaskedTextBox, ComboBox, NumericEdit, DateEdit and DropDownControl, allow you to decide text alignment using the [TextAlign](/componentone/docs/win/online-input-net/) property.

The table below lists the three different types of text alignment in Input controls:

| **Text Alignment** | **Snapshots** |
| --- | --- |
| Left |   ![](https://cdn.mescius.io/document-site-files/images/287a0e06-68cb-453e-816c-125f892133e7/images/textalign-left.png)   |
| Right |   ![](https://cdn.mescius.io/document-site-files/images/287a0e06-68cb-453e-816c-125f892133e7/images/textalign-right.png)   |
| Center |   ![](https://cdn.mescius.io/document-site-files/images/287a0e06-68cb-453e-816c-125f892133e7/images/textalign-center.png)   |