Restrict user selection in .NET MAUI Rating (SfRating)
4 May 20251 minute to read
SfRating control support for changeable or unchangeable values for Rating control. This is achieved by the IsReadOnly property. When this property is set to True, the Rating value becomes unchangeable. By default, this property value is set to False.
<rating:SfRating x:Name="rating" IsReadOnly="true" />SfRating rating = new SfRating();
rating.IsReadOnly = true;