Windows Platform Features
Developing Xamarin.Forms applications for Windows platforms requires Visual Studio. The requirements page contains more information about the pre-requisites.
Platform-specifics allow you to consume functionality that's only available on a specific platform, without implementing custom renderers or effects.
The following platform-specific functionality is provided for Xamarin.Forms views, pages, and layouts on the Universal Windows Platform (UWP):
- Setting an access key for a
VisualElement. For more information, see VisualElement Access Keys on Windows.
- Disabling legacy color mode on a supported
VisualElement. For more information, see VisualElement Legacy Color Mode on Windows.
The following platform-specific functionality is provided for Xamarin.Forms views on UWP:
- Detecting reading order from text content in
Labelinstances. For more information, see InputView Reading Order on Windows.
- Enabling tap gesture support in a
ListView. For more information, see ListView SelectionMode on Windows.
- Enabling a
SearchBarto interact with the spell check engine. For more information, see SearchBar Spell Check on Windows.
- Enabling a
The following platform-specific functionality is provided for Xamarin.Forms pages on UWP:
- Collapsing the
MasterDetailPagenavigation bar. For more information, see MasterDetailPage Navigation Bar on Windows.
- Setting toolbar placement options. For more information, see Page Toolbar Placement on Windows.
- Enabling page icons to be displayed on a
TabbedPagetoolbar. For more information, see TabbedPage Icons on Windows.
The Xamarin.Forms templates available in Visual Studio contain a Universal Windows Platform (UWP) project.
Xamarin.Forms 1.x and 2.x support Windows Phone 8 Silverlight, Windows Phone 8.1, and Windows 8.1 application development. However, these project types have been deprecated.
Go to File > New > Project in Visual Studio and choose one of the Cross-Platform > Blank App (Xamarin.Forms) templates to get started.
Older Xamarin.Forms solutions, or those created on macOS, will not have all the Windows projects listed above (but they need to be manually added). If the Windows platform you wish to target isn't already in your solution, vist the setup instructions to add the desired Windows project type/s.
The "Scott Hanselman" demo app is available separately, and also includes Apple Watch and Android Wear projects (using Xamarin.iOS and Xamarin.Android respectively, Xamarin.Forms does not run on those platforms).