Articles in this section

How to restrict user selection of rating items in .NET MAUI Rating?

In .NET MAUI Rating (SfRating), you can restrict user actions on rating items by setting the IsReadOnly property to True. The default value for this property is False.

XAML

<ContentPage.Content>
       <rating:SfRating Value="3" IsReadOnly="True"/>
</ContentPage.Content> 

C#

SfRating rating = new SfRating();
rating.Value = 3;
rating.IsReadOnly = true;

OUTPUT

ezgif.com-video-to-gif.gif

Conclusion
I hope you enjoyed learning how to restrict user selection of rating items in .NET MAUI Rating (SfRating).

Refer to our .NET MAUI Rating feature tour page to learn about its other groundbreaking features. You can explore our .NET MAUI Rating documentation to understand how to present and manipulate data.

Check out our .NET MAUI components from the License and Downloads page for current customers. If you are new to Syncfusion®, try our 30-day free trial to explore our .NET MAUI Rating and other components.

Please let us know in the comments section if you have any queries or require clarification. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied