pankaj.util.RatingControl
1.0.0.2
dotnet add package pankaj.util.RatingControl --version 1.0.0.2
NuGet\Install-Package pankaj.util.RatingControl -Version 1.0.0.2
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="pankaj.util.RatingControl" Version="1.0.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add pankaj.util.RatingControl --version 1.0.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: pankaj.util.RatingControl, 1.0.0.2"
#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.
// Install pankaj.util.RatingControl as a Cake Addin #addin nuget:?package=pankaj.util.RatingControl&version=1.0.0.2 // Install pankaj.util.RatingControl as a Cake Tool #tool nuget:?package=pankaj.util.RatingControl&version=1.0.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Rating Control for .NET MAUI
A Rating Control for .NET MAUI using an icon font.
Setup
Available on NuGet: RatingControl.MAUI
Just add the package to your .NET MAUI application.
API Usage
Initialize the package by calling UseRatingControl()
on MauiProgram
:
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.UseRatingControl()
// other configurations
return builder.Build();
You must add this namespace to your xaml
files:
xmlns:controls="http://www.pankaj_singh_apps.de/maui/controls"
Now you can use the SimpleRatingControl
from this namespace:
<controls:RatingControl Amount="5"
CurrentValue="1"
AccentColor="Gold"
FontSize="36"/>
Available Properties
Property | Type | Description | Default Value |
---|---|---|---|
CurrentValue |
double |
Sets the value which should be used as the rating. | 0 |
Amount |
double |
Sets the maximum amount | 5 |
FontSize |
double |
Sets the size of each element. | 24 |
AccentColor |
Color |
Sets the color of the element. | Gold |
- Listed on nuget.org
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-android33.0 is compatible. net7.0-ios was computed. net7.0-ios16.1 is compatible. net7.0-maccatalyst was computed. net7.0-maccatalyst16.1 is compatible. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net7.0-windows10.0.19041 is compatible. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- No dependencies.
-
net7.0-android33.0
- No dependencies.
-
net7.0-ios16.1
- No dependencies.
-
net7.0-maccatalyst16.1
- No dependencies.
-
net7.0-windows10.0.19041
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
A Rating Control for .NET MAUI using an icon font.