Xamarin.Forms StackLayout Tutorial

In this tutorial, you learn how to:

  • Create a Xamarin.Forms StackLayout in XAML.
  • Specify the orientation of the StackLayout.
  • Control child view alignment and expansion within the StackLayout.


To complete this tutorial you should have Visual Studio 2017 (latest release), with the Mobile development with .NET workload installed. In addition, you will require a paired Mac to build the tutorial application on iOS. For information about installing the Xamarin platform, see Installing Xamarin. For information about connecting Visual Studio 2017 to a Mac build host, see Pair to Mac for Xamarin.iOS development.

Before attempting this tutorial, you should have successfully completed the: