Xamarin.Forms Samples

CarouselPage

This sample demonstrates how to use a CarouselPage to navigate through a collection of pages. The CarouselPage is constructed by populating it with a collection of child Page objects.

CarouselPageTemplate

This sample demonstrates how to use a CarouselPage to navigate through a collection of pages. The CarouselPage is constructed by assigning a collection to the ItemsSource property and assigning a DataTemplate to the ItemTemplate property to return pages for objects in the collection.

Displaying Pop-ups

This sample demonstrates using the alert and action sheet APIs to ask users simple questions and guide users through tasks.

Hierarchical Navigation

This sample demonstrates how to perform hierarchical navigation through a stack of pages in Xamarin.Forms.

LoginFlow

This sample demonstrates how to manipulate the navigation stack in order to only display the main page of the application once the user has successfully logged in.

MasterDetailPage

This sample demonstrates how to use a MasterDetailPage and navigate between its pages of information.

Modal Pages

This sample demonstrates how to navigate to modal pages.

Passing Data

This sample demonstrates how to pass data between pages when navigating.

TabbedPage

This sample demonstrates how to use a TabbedPage to navigate through a collection of pages. The TabbedPage is constructed by assigning a collection to the ItemsSource property and assigning a DataTemplate to the ItemTemplate property to return pages for objects in the collection.

TabbedPage with NavigationPage

This sample demonstrates how embed a NavigationPage in a TabbedPage, in order to perform page navigation within a tab. The TabbedPage is constructed by populating it with a collection of child Page objects.

Title View

This sample demonstrates how to display any Xamarin.Forms View in the navigation bar of a NavigationPage.