Restrict User Selection in WPF Rating (SfRating)

7 May 20211 minute to read

The SfRating control provides support to changeable or unchangeable values. This is achieved using the IsReadOnly property. When this property is set to true, the rating value becomes unchangeable. By default, value of this property is false.

<rating:SfRating ItemsCount="5" IsReadOnly="True"/>
SfRating rating;
public MainWindow()
    rating = new SfRating();
    rating.IsReadOnly = true;
    Content = rating;

SfRating read only