Enable View Range Selection in Xamarin Rating (SfRating)

4 Aug 20221 minute to read

When using CustomView in SfRating, Only one item will be rated. If you need to change the view of all rated CustomView items, Use the EnableViewRangeSelection boolean property.


The EnableViewRangeSelection property is used only for CustomViews.

<rating:SfRating x:Name="rating" EnableCustomView="True" ItemCount="5" EnableViewRangeSelection="True" />
SfRating rating;
public MainPage()

    rating.EnableCustomView = true;
    rating.EnableViewRangeSelection = true;

SfRating EnableViewRangeSelection