Blazorise Rating API

Explore the Blazorise Rating API reference for parameters, events, methods, and related types.

For examples and usage guidance, see the Rating documentation.

API

Parameters

Parameter Description TypeDefault
Color

Not work now

ColorColor.Warning
Disabled

Prevent the user interactions and make it appear lighter.

boolfalse
EmptyIcon

Specifies the non-selected icon name.

object286
EmptyIconStyle

Specifies the non-selected icon style.

IconStyle?null
FullIcon

Specifies the selected icon name.

object286
FullIconStyle

Specifies the selected icon style.

IconStyle?null
Intent

Not work now

Intentnull
MaxValue

Maximum rating value that is allowed to be selected. Default is 5.

int5
RatingItemsClass

User class names for RatingItems, separated by space

string
RatingItemsStyle

User styles for RatingItems.

string
ReadOnly

Prevent the user interactions and make it appear normal.

boolfalse
SelectedValue

Specifies the currently selected rating value.

int0

Events

Event Description Type
GetTooltip

Expression that provides the tooltip for the rating item to have additional user-friendly information.

Remarks

The expression receives the rating item Value to determine the result.

Func<int, RatingTooltip>
HoveredValueChanged

Occurs after the HoveredValue has changed.

EventCallback<int?>
SelectedValueChanged

Occurs after the SelectedValue has changed.

EventCallback<int>

Methods

Method DescriptionReturnParameters
IsHoveredRange Indicates if item value is in the hovered range. boolint value
IsSelectedRange Indicates if item value is in the selected range. boolint value
On this page