Class MudRatingItem
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
public class MudRatingItem : MudComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IMudStateHasChanged
- Inheritance
-
MudRatingItem
- Implements
- Inherited Members
- Extension Methods
Constructors
MudRatingItem()
public MudRatingItem()
Properties
ClassName
Space separated class names.
protected string ClassName { get; }
Property Value
Color
The color of the component. It supports the theme colors.
[Parameter]
public Color Color { get; set; }
Property Value
Disabled
If true, the controls will be disabled.
[Parameter]
public bool Disabled { get; set; }
Property Value
ItemClicked
Fires when element clicked.
[Parameter]
public EventCallback<int> ItemClicked { get; set; }
Property Value
ItemHovered
Fires when element hovered.
[Parameter]
public EventCallback<int?> ItemHovered { get; set; }
Property Value
ItemValue
This rating item value.
[Parameter]
public int ItemValue { get; set; }
Property Value
ReadOnly
If true, the item will be readonly.
[Parameter]
public bool ReadOnly { get; set; }
Property Value
Ripple
Gets or sets whether to show a ripple effect when the user clicks the button. Default is true.
[Parameter]
public bool Ripple { get; set; }
Property Value
Size
The size of the icon.
[Parameter]
public Size Size { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder
OnParametersSet()
protected override void OnParametersSet()