The .NET MAUI Rating control allows users to select a rating value from a group of visual symbols like stars, hearts, or custom shapes.
Easily get started with the .NET MAUI Rating using a few simple lines of XAML code examples as demonstrated below. Also, explore our .NET MAUI Rating Example which shows you how to render and configure the Rating for .NET MAUI.
<?xml version = "1.0" encoding = "UTF-8" ?>
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:SampleBrowser.Maui.Inputs"
xmlns:base="clr-namespace:SampleBrowser.Maui.Base;assembly=SampleBrowser.Maui.Base"
xmlns:syncTheme="clr-namespace:Syncfusion.Maui.Themes;assembly=Syncfusion.Maui.Core"
x:Class="SampleBrowser.Maui.Inputs.App">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<base:SampleBrowserStyles/>
<syncTheme:SyncfusionThemeResourceDictionary/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>
The .NET MAUI Rating control supports precise ratings to handle full, half, or exact values.
Provided rating is rounded to the nearest value.
Provided rating is rounded to the nearest half-value.
Users can select an exact value for ratings.
The Rating control in .NET MAUI allows the use of both predefined shapes and custom shapes.
Users can use predefined rating shapes, such as stars, hearts, circles, and diamonds.
Users can use a custom rating shape according to their needs.
The .NET MAUI Rating control can also be used in a read-only state. In this mode, users cannot interact with the control.
The .NET MAUI Rating control supports customizing the item color, item border color, spacing, selection color, and more, enabling the items to fit the application theme.
Make the control more accessible and enhance its accuracy by customizing the item size.
The item count can be specified to whatever value you desire (e.g., 5 stars, 6 stars, etc.).
Specify the space between items in the Rating control.
Customize the fill color for the rated and unrated states of an item.
Giving items a border can make their appearance more attractive. Use borders to highlight rated and unrated items.
You can customize the stroke thickness of the item borders.
The Syncfusion .NET MAUI Rating offers the following features:
You can find our .NET MAUI Rating demo, which demonstrates how to render and configure the Rating.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.
A good place to start would be our comprehensive getting started documentation.
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.