TextBlock control design guidelines for Windows Phone
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
A TextBlock control displays a fixed amount of text and is used to label controls.
This topic contains the following sections.
- Appearance and action
- Detailed description
- Standard use
- Design guidelines
- Related Topics
Appearance and action
A TextBlock control is a fixed-height rectangular box that stays the same, no matter the state of other controls. TextBlock controls can extend to several lines. Users don’t interact with TextBlock controls.
Detailed description
A TextBlock control merely displays text without any user interaction. Use a TextBlock control as a label for another control such as a TextBox control.
Standard use
Use TextBlock controls to label a group of related controls, or to display instructive text near a group of related controls. Related controls typically appear below the TextBox control in the same view.
Design guidelines
Note
A TextBlock control doesn’t include actionable controls.
One of the strengths of a Windows Phone device is displaying info in clear, beautiful typography. Take advantage of this design characteristic when you advise users on the use of a TextBlock control: use succinct and clearly legible words or labels.