This article should help developers to get started with Telerik UI for Xamarin suite on Windows OS.
Please, make sure you have already read the System Requirements article before you proceed.
Depending on your scenario, you either have an existing app where you will add our components, or you have to create a new blank app.
If you already have an app, please proceed to the next step.
If you start your app from scratch, you have these options:
- Use our Project Wizard to create a project that has everything setup for you. You can start using our components right away without manually adding required assemblies and modifying solution files.
- Create a blank Xamarin.Forms app and manually setup all requirements.
We strongly recommend using the Project Wizard. If you choose this option, you can skip the next steps in this article and jump directly to the Getting Started section of any control.
If your scenario requires using the other approach, please proceed following the steps in this article.
How to create blank Xamarin.Forms app
Create new solution Mobile App (Xamarin.Forms):
Visual Studio: located at Visual C# > Cross-Platform section:
In the next screen you could choose the platforms your app will target as well as the code sharing strategy:
Typically, the solution can contain the following projects:
- .NET Standard/Shared: Cross platform application library that contains the shared code and UI.
- Android: Available on all operation systems.
- UWP: Available only for projects created with Visual Studio.
- Available for MacOS.
- If you wish to use Visual Studio as a development environment you will also need a mac machine. You can find more information how to setup your environment here: Introduction to Xamarin.iOS for Visual Studio
The minimum required version of Xamarin.Forms package is 3.4.
The Android project requires multiple packages with specific versions. The Xamarin.Forms package will install most of the required packages as its dependencies. You can then go to Required Android Support Libraries article and check if you have all required files and versions.
You have two options.
You can use our Telerik NuGet package server to include our suite in your solution and/or update to the latest available version.
The hard way is to add all required assemblies manually. We have added a special section in each control documentation that lists all the required assemblies. The section is called "Adding the required Telerik references" and is located in the Getting Started article for each control.
As some of the controls included in Telerik UI for Xamarin suite rely on the SkiaSharp rendering library, you should either install SkiaSharp.Views.Forms in all projects included in the Xamarin solution (portable, android, ios, etc.) or in case you do not intend to use any of the Skia-dependent components (Gauges, Rating, BusyIndicator), you could reference the Lite assemblies.