Rating
BptRating
The BptRating component displays an interactive star rating with support for half-star precision, custom max values, multiple sizes, read-only display, and custom colors.
Rating Parameters
Value: 3
Current Configuration
📋
The BptRating component displays an interactive star rating with support for half-star precision, custom max values, multiple sizes, read-only display, and custom colors.
Value: 3
<BptRating @bind-Value="rating"
Precision="BptRatingPrecision.Full"
Size="BptComponentSize.Medium"
OnRatingChanged="HandleRatingChanged" />
@code {
private double rating = 3;
private void HandleRatingChanged(double newValue)
{
Console.WriteLine($"Rating changed to: {newValue}");
}
}