Clear rating value in WinUI Rating

20 Mar 20231 minute to read

The IsClearEnabled property of the Rating control allows you to clear the provided rating value when the value is true. The default value of the IsClearEnabled property is true.

NOTE

It supports precision mode full only.

<syncfusion:SfRating Value="3"
     ItemsCount="5" IsClearEnabled="true">
</syncfusion:SfRating>
SfRating rating = new SfRating();
rating.Value = 3;
rating.ItemsCount = 5;
rating.IsClearEnabled = true;

Clear rating value in WinUI Rating control