View Range Selection

17 Jan 20251 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.

NOTE

The EnableViewRangeSelection property is used only for CustomViews.

SfRating rating;

protected override void OnCreate(Bundle savedInstanceState)
{
    base.OnCreate(savedInstanceState);

    --------

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

    --------

}

SfRating EnableViewRangeSelection