Adding a label to our ViewController in the Storyboard

In this section, we will take a look at how we can use labels to display informative text to the user. The Label object is one of the ways in which we can let users know what is happening.

This can be as simple as displaying static text to the user, or to let the user know that we are requesting for the user to enter their username or password. Alternatively, we can use the Label control to inform them whenever something has gone terribly wrong.

Let's start by ensuring that our Toolbox window is currently open and performing the following steps:

  1. Ensure the SlidingTiles solution is currently open in the Visual Studio for Mac IDE.
  2. Next, select the View|Pads|Toolbox menu option, as shown ...

Get Mastering Xamarin UI Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.