Controls Reference

Download Sample Download the sample

A description of all the visual elements used to construct a Xamarin.Forms application.

The visual interface of a Xamarin.Forms application is constructed of objects that map to the native controls of each target platform. This allows platform-specific applications for iOS, Android, and the Universal Windows Platform to use Xamarin.Forms code contained in a .NET Standard library or a Shared Project.

The four main control groups used to create the user interface of a Xamarin.Forms application are shown in these four articles:

A Xamarin.Forms page generally occupies the entire screen. The page usually contains a layout, which contains views and possibly other layouts. Cells are specialized components used in connection with TableView and ListView.

In the four articles on Pages, Layouts, Views, and Cells, each type of control is described with links to its API documentation, an article describing its use (if one exists), and one or more sample programs (if they exist). Each type of control is also accompanied by a screenshot showing a page from the FormsGallery sample running on iOS, Android, and UWP devices. Below each screenshot are links to the source code for the C# page, the equivalent XAML page, and (when appropriate) the C# code-behind file for the XAML page.