Platform Features

Take advantage of platform-specific features with Xamarin.Forms

Xamarin.Forms is extensible and lets you incorporate platform-specific features using effects, custom renderers, the DependencyService, the MessagingCenter, and more.

Android

This guide describes how to implement Material Design by updating existing Xamarin.Forms Android apps.

Application Indexing and Deep Linking

Application indexing allows applications that would otherwise be forgotten after a few uses to stay relevant by appearing in search results. Deep linking allows applications to respond to a search result that contains application data, typically by navigating to a page referenced from a deep link.

Device Class

How to use the Device class to create platform-specific behavior in shared code and the user interface (including using XAML). Also covers BeginInvokeOnMainThread which is essential when modifying UI controls from background threads.

iOS

Some iOS styling can be performed via Info.plist and the UIAppearance API. This guide includes examples of how to include iOS 9 features into the iOS app of a Xamarin.Forms solution, including Core Spotlight search.

Native Views

Native views from iOS, Android, and the Universal Windows Platform can be directly referenced from Xamarin.Forms XAML files. Properties and event handlers can be set on native views, and they can interact with Xamarin.Forms views.

Platform-Specifics

Platform-specifics allow you to consume functionality that's only available on a specific platform, without requiring custom renderers or effects.

Plugins

There are a wide variety of open-source plug-ins available on Github, Nuget, and the Xamarin Component Store to help extend Xamarin.Forms apps.

Windows

Xamarin.Forms has support for four different types of Windows project:

  • Windows Phone 8 Silverlight (the original Windows platform supported by Xamarin.Forms),
  • Windows Phone 8.1 (WinRT),
  • Windows 8.1 (WinRT), and
  • Universal Windows Platform (Windows 10).

This section describes the differences between them, and how to add them to an existing Xamarin.Forms solution.

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.