Споделяне чрез

Xamarin.Forms Button Tutorial

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

In this tutorial, you learn how to:

  • Create a Xamarin.Forms Button in XAML.
  • Respond to the Button being tapped.
  • Change the appearance of the Button.

You will use Visual Studio 2019, or Visual Studio for Mac, to create a simple application that demonstrates how to customize a Button. The following screenshots show the final application:

Screenshot of a Button with a changed visual appearance, on iOS and Android

You'll also use XAML Hot Reload for Xamarin.Forms to see UI changes without rebuilding your application.