Placeholder value in WinUI Rating

20 Mar 20231 minute to read

By using the PlaceholderValue property, the Rating control display the average rating value before the user provides their rating by click or any other action.

<syncfusion:SfRating 
     ItemsCount="5" PlaceholderValue="2">
</syncfusion:SfRating>
SfRating rating = new SfRating();
rating.ItemsCount = 5;
rating.PlaceholderValue = 2;

Placeholder value feature in WinUI Rating control