Edit this page

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


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


Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article