Is there a Label control in Silverlight?

I can not find the Label control in Silverlight. I get compilation errors if I put somewhere in my XAML.

+7
silverlight label-control
source share
3 answers

TextBlock about the same as WinForms Label .

By MSDN :

The TextBlock control is the main element for displaying text in Silverlight-based applications.

Provides easy controls for displaying small amounts of text ...

EDIT : I just noticed your tag for Silverlight 3. Label should be built into Silverlight 3, so are you sure you are not using 2?

You might want to consider TextBlock depending on how you use it. Again for MSDN :

The Label control displays a signature, a required field indicator, and a user verification error indicator. It is usually used in conjunction with input controls, such as a text box. If you do not need to display a required field or check indicators, you can use TextBlock instead.

+6
source share

Try this article . Apparently you need to install the Silverlight Toolkit.

+3
source share

Just use TextBlock ...?

Michael

+2
source share

All Articles