Using the NumberOfItemsToGenarate property

This tutorial will show the way of populating RadRating using the NumberOfItemsToGenerate property.

Example 1 demonstrates a regular RadRating declaration:

Example 1: Declare a RadRating

<telerik:RadRating x:Name="radRating"/> 

Figure 1: Result from Example 1

RadRating

If you want to set a specific number of rating items you should set the NumberOfItemsToGenerate property:

Example 2: Setting the NumberOfItemsToGenerate

<telerik:RadRating x:Name="radRating" NumberOfItemsToGenerate="3" /> 

Figure 2: Result from Example 2

RadRating

In this article