Getting Started

This example will guide you through the steps needed to add a basic RadRating control in your application.

Before you proceed, please, take a look at these articles and follow the instructions to setup your app:

Example

If your app is setup, you are ready to add a RadRating control.

The simplest and fastest way to include the control is by simply defining it like this in XAML:

<rating:RadShapeRating x:Name="rating"/>
var layout = new StackLayout();
layout.Children.Add(new RadShapeRating());
this.Content = layout;

By default the control is defined in a way that five start will be visualized and non of them will be selected.

You have to add the following namespaces:

xmlns:rating="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
using Telerik.XamarinForms.Input;

SDK Browser and QSF applications contain different examples that show RadRating's main features. You can find the applications in the Examples and QSF folders of your local Telerik UI for Xamarin installation.