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.

     ItemsCount="5" PlaceholderValue="2">
SfRating rating = new SfRating();
rating.ItemsCount = 5;
rating.PlaceholderValue = 2;

Placeholder value feature in WinUI Rating control