RayCraftDocs
v1.0.3 raycraft.dev
On this page

RatingDisplay

Free

Read-only stars with fractions (4.5 shows four and a half), an optional number and a review count. Use Rating when people should choose a value.

Example

RatingDisplay control

Parameters

ParameterTypeDescription
ClassstringExtra CSS classes added to the root element.
Countint?Number of ratings, shown in parentheses.
MaxintNumber of stars (default 5).
ShowValueboolShows the current value next to the slider.
StylestringInline style added to the root element.
ValueDoubleCurrent value. Use with @bind-Value.

Package

RatingDisplay is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.