We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The WPF Rating control allows users to select rating values from a group of visual symbols like stars.


Flexible precision

The WPF Rating control provides flexible precision to handle full, half, or exact values.

WPF Rating control showing full-value rating selection support

Standard

Provides whole values for rating.

WPF Rating control showing half-value rating selection support

Half

Allows selection to the nearest half-value for rating.

WPF Rating control with exact rating selection

Exact

Provides precise values for rating selection.


Set as read-only

The WPF Rating control can also be used in a read-only state that allows users to view only the control. In this mode, users cannot interact with the control.

WPF Rating control in read-only mode


Tooltip

The WPF Rating control provides tooltips that indicate the selected value when the user interacts with the control.

WPF Rating control showing tooltips placed at the top and bottom

Placement

Place tooltips either at the bottom or top of the control. You can also view the rating control without tooltips.

WPF Rating control showing different tooltip precision

Precision

Precision in the tooltip values allows users to know the exact degree to which the control is filled.


Customization

The WPF Rating control supports customizing item colors, item border colors, selection colors, and more enabling the items to fit your application theme.

WPF Rating control showing customized border thickness

Border customization

You can customize the border thickness and border color of the rating control.

WPF Rating control showing customized item size

Item size

You can make the control more accessible and also enhance its accuracy by customizing the item size.

WPF Rating control with customized item count

Item count

The item count can be specified so that users can rate up to whatever value they desire.

WPF Rating control with customized selection color

Selected and normal colors

Customize the fill color for the selected and normal states.


Rating Code Example

Easily get started with the WPF Rating using a few simple lines of XAML and C# code example as demonstrated below. Also explore our WPF Rating Example that shows you how to render and configure the Rating in WPF.

<Grid>
        <syncfusion:SfRating ItemsCount="5" Precision="Exact" Width="150"/>
</Grid>
public MainWindow()
        {
            InitializeComponent();
            Grid grid = new Grid();
            SfRating sfRating = new SfRating();
            sfRating.ItemsCount = 5;
            sfRating.Precision = Precision.Exact;
            sfRating.Width = 150;
            grid.Children.Add(sfRating);
            this.Content = grid;
        }

95+ WPF CONTROLS

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version Download Free Trial

Syncfusion WPF Resources

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon
Live Chat Icon For mobile