Label

The Label control allows you to put a short line of text on the screen. A TextBlock is preferred for multiple lines of text.

Labels are typically used to display single-line prompts alongside controls that require user input or a user selection.

Properties

Key properties of Label include:

  • Content. The text to be displayed. For example, a prompt displayed alongside a CheckBox.
  • Font. Font (Family, Size, Style and Weight) characteristics can be set for the displayed text.

Adding Labels