ClassTelerikRating
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class TelerikRating : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentTelerikRating
Implements:
Inherited Members
Constructors
TelerikRating()
Declaration
public TelerikRating()
Properties
AriaLabel
Describe the aria-label attribute for the component.
Declaration
[Parameter]
public string AriaLabel { get; set; }
Property Value
AriaLabelledBy
Describe the aria-labelledby attribute for the component.
Declaration
[Parameter]
public string AriaLabelledBy { get; set; }
Property Value
Enabled
Defines whether the component should be rendered in a disabled state.
HoverThrottleInterval
Defines the interval for which the value should change on hover.
Declaration
[Parameter]
public int HoverThrottleInterval { get; set; }
Property Value
ItemTemplate
Defines the Item Template of the component.
Declaration
[Parameter]
public RenderFragment<RatingItemTemplateContext> ItemTemplate { get; set; }
Property Value
Label
Adds a label next to the rating.
Max
Defines the maximum number of items for the component.
PrecisionMode
Declaration
[Parameter]
public RatingPrecisionMode PrecisionMode { get; set; }
Property Value
ReadOnly
Defines whether the component should be rendered in a readonly state.
SelectionMode
Controls the selection mode of the component. Available options are: Single and Continuous.
Declaration
[Parameter]
public RatingSelectionMode SelectionMode { get; set; }
Property Value
Value
Defines the value of the component.
ValueChanged
Declaration
[Parameter]
public EventCallback<double> ValueChanged { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()
Overrides