O'Reilly logo

Mastering Xamarin UI Development - Second Edition by Steven F. Daniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding the Shuffle Button to our View Controller in the Storyboard

In this section, we will take a look at how we can add our final button to our View Controller in our Storyboard, which will complete the construction of our user interface for our Sliding Tiles Game. We will also be modifying properties for this control, applying Layout attributes, and specifying Control Events and Target/Action Events.

Let's start by adding a Button object to our View Controller, performing the following steps:

  1. Ensure the SlidingTiles solution is currently open in the Visual Studio for Mac IDE.
  2. Then, from the Toolbox Library, drag a Button control onto the View Controller.
  3. Next, resize the Button control so that it fills the width of the View Controller ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required