XGENO.Maui.RatingView 1.0.3

dotnet add package XGENO.Maui.RatingView --version 1.0.3
                    
NuGet\Install-Package XGENO.Maui.RatingView -Version 1.0.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XGENO.Maui.RatingView" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="XGENO.Maui.RatingView" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="XGENO.Maui.RatingView" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add XGENO.Maui.RatingView --version 1.0.3
                    
#r "nuget: XGENO.Maui.RatingView, 1.0.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package XGENO.Maui.RatingView@1.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=XGENO.Maui.RatingView&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=XGENO.Maui.RatingView&version=1.0.3
                    
Install as a Cake Tool

MAUI Rating View Control

A simple and customizable Rating View control for use with .NET MAUI Apps.

Roadmap

This is a fully working RatingView control. However, this is only a display only version and does not allow users to change the rating. The following enhancements are in the pipeline:

  • Implement IsReadOnly property to allow Interactions to change rating by tapping the RatingView control on the screen
  • Release the control as a Nuget package

How to use

  1. Nuget version will be released soon. In the meanwhile, clone this repository and add the project reference to the Maui.Controls.RatingView.
  2. Add the following namespace declaration in your Maui Form pages:
xmlns:controls="clr-namespace:XGENO.Maui.Controls;assembly=Maui.Controls.RatingView"
  1. Add the control to the page and set the properties as necessary.
<controls:RatingView
    ItemCount="5"
    ItemSize="16"
    ItemSpacing="6"
    Value="4.3"
    RatedFillColor="Yellow"
    UnRatedFillColor="LightGrey"
    StrokeColor="Black"
    StrokeWidth="1"
    HorizontalOptions="Start" />

RatingView Customizations

You can customize the control using any of the below properties | Property | Data Type | Explanation | | :--- | :----: | :--- | | ItemCount | Integer | The number of rating items (e.g. stars) to draw. Defaulted to 5. | | ItemSize | Float | Defines the height of the item/star. Defaulted to 24f. | | ItemSpacing | Float | Defines the spacing between items/stars. Defaulted to 6f. | | Value | Double | The Value of the Rating used to fill the shape items/stars. Defaulted to 2.5d. | | RatedFillColor | Color | The color used to fill the shape items/stars with rating value. Defaulted to Yellow. | | UnRatedFillColor | Color | The color used to fill the empty shape items/stars. Defaulted to Light Grey. | | StrokeColor | Color | The color used to outline shape items/stars. Defaulted to Light Yellow. | | StrokeWidth | Float | Defines the stroke size of the outline. Defaulted to 1f. | | IsReadOnly | Boolean | This will be implemented in future and will be used to allow interactions to change the rating via user interactions. Currently defaulted to true. | | ShapePath | String | Used to define the shape of the item to draw. Defaulted to Star shape. |

Screen Shots

RatingView

Product Compatible and additional computed target framework versions.
.NET net10.0-android36.0 is compatible.  net10.0-ios26.0 is compatible.  net10.0-maccatalyst26.0 is compatible.  net10.0-windows10.0.19041 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.3 311 11/26/2025
1.0.2 256 11/24/2025
1.0.0 760 2/22/2024