Cross-Platform User Interfaces with Xamarin.Forms
Xamarin.Forms is a cross-platform UI toolkit that allows developers to easily create native user interface layouts that can be shared across Android, iOS, and Windows Phone. This section contains the introduction to Xamarin.Forms and our guides to help you build Xamarin.Forms apps. You can also learn more about its capabilities, try our samples, and browse the API documentation.
Creating Mobile Apps with Xamarin.Forms
The preview edition of Charles Petzold's upcoming book Creating Mobile Apps with Xamarin.Forms is available as a free download to help you get started with Xamarin.Forms!
Xamarin.Forms for Windows Store
Check out Xamarin.Forms running on Windows Store apps! Add projects that run on Windows 8.1 and Windows Phone 8.1 to your existing Xamarin.Forms solutions.
Is Xamarin.Forms right for your project?
Xamarin.Forms is best for:
Xamarin.iOS & Xamarin.Android are best for:
Either way, you'll get fully native apps with shared business logic using C# and the .NET framework.
Xamarin.Forms Developer Guides
The documents in this section show you how to build cross-platform apps using Xamarin.Forms.
Custom Renders let developers 'override' the default rendering of Xamarin.Forms controls to customize their appearance and behavior on each platform (using native SDKs if desired).
The DependencyService provides a simple locator so that you can code to Interfaces in your shared code and provide platform-specific implementations that are automatically resolved, making it easy to reference platform-specific functionality in Xamarin.Forms.
MessagingCenter enables view models and other components to communicate with without having to know anything about each other besides a simple Message contract.
The built-in .NET localization framework can be used to build cross-platform multilingual applications with Xamarin.Forms.
Xamarin Test Cloud's UITest component can be used with Xamarin.Forms to write UI tests to run in the cloud on hundreds of devices.
XAML—the eXtensible Application Markup Language—allows developers to define user interfaces in Xamarin.Forms applications using markup rather than code. XAML is never required in a Xamarin.Forms program but it is often more succinct than equivalent code, more visually coherent, and potentially toolable. XAML is particularly well suited for use with the popular MVVM (Model-View-ViewModel) application architecture: XAML defines the View that is linked to ViewModel code through XAML-based data bindings.
Browse the API documentation for Xamarin.Forms.
Check out sample gallery for Xamarin.Forms or clone directly from Github.