New to Telerik UI for WPF? Start a free 30-day trial
Using the NumberOfItemsToGenarate property
Updated on Sep 15, 2025
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
XAML
<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
XAML
<telerik:RadRating x:Name="radRating" NumberOfItemsToGenerate="3" />
Figure 2: Result from Example 2
