TextBlock control design guidelines for Windows Phone

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.

UI_TextBlock

This topic contains the following sections.

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.

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.

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.

NoteNote:

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.

Show:
© 2016 Microsoft