#317 – Label Basics

The Label control in WPF typically contains text and serves to provide information to the user.  The text in a label might change dynamically, depending on the state of the application, or it might always be the same.

Users don’t typically interact with a Label control.  By default, clicking on a label doesn’t do anything and a user can’t change the text of a label.

You set the value of the text in a Label using the Content property.

        <Label Content="I'm Henry VIII, I am."/>

Advertisements