RatingItemsClass |
String |
null |
User class names for RatingItems, separated by space |
RatingItemsStyle |
String |
null |
User styles for RatingItems. |
Name |
String |
"ea25eacc-0df5-4987-b426-5814f2aac600" |
Input name. If not initialized, name will be random guid. |
MaxValue |
Int32 |
5 |
Max value and how many elements to click will be generated. Default: 5 |
FullIcon |
String |
"<path d="M0 0h24v24H0z" fill="none"/><path d="M0 0h24v24H0z" fill="none"/><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/>" |
Selected or hovered icon. Default @Icons.Material.Star |
EmptyIcon |
String |
"<path d="M0 0h24v24H0z" fill="none"/><path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"/>" |
Non selected item icon. Default @Icons.Material.StarBorder |
Color |
Color |
Color.Default |
The color of the component. It supports the theme colors. |
Size |
Size |
Size.Medium |
The Size of the icons. |
DisableRipple |
Boolean |
False |
If true, disables ripple effect. |
Disabled |
Boolean |
False |
If true, the controls will be disabled. |
ReadOnly |
Boolean |
False |
If true, the ratings will show without interactions. |
SelectedValueChanged |
EventCallback<Int32> |
|
Fires when SelectedValue changes. |
SelectedValue |
Int32 |
0 |
Selected value. This property is two-way bindable. |
HoveredValueChanged |
EventCallback<Nullable<Int32>> |
|
Fires when hovered value change. Value will be null if no rating item is hovered. |
Class |
String |
null |
User class names, separated by space |
Style |
String |
null |
User styles, applied on top of the component's own classes and styles |
Tag |
Object |
null |
Use Tag to attach any user data object to the component for your convenience. |
UserAttributes |
Dictionary<String, Object> |
|
UserAttributes carries all attributes you add to the component that don't match any of its parameters.
They will be splatted onto the underlying HTML tag. |