New to Telerik UI for WPF? Start a free 30-day trial

Using the NumberOfItemsToGenarate property

Updated on Nov 3, 2026

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"/>

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

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

Result from example 2

RadRating

Not finding the help you need?
Contact Support