Class TelerikRating
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikRating : BaseComponent, IDisposable
Constructors
TelerikRating()
Declaration
public TelerikRating()
Properties
AriaLabel
Describe the aria-label attribute for the component.
Declaration
public string AriaLabel { get; set; }
Property Value
System.String
|
AriaLabelledBy
Describe the aria-labelledby attribute for the component.
Declaration
public string AriaLabelledBy { get; set; }
Property Value
System.String
|
Enabled
Defines whether the component should be rendered in a disabled state.
Declaration
public bool Enabled { get; set; }
Property Value
System.Boolean
|
HoverThrottleInterval
Defines the interval for which the value should change on hover.
Declaration
public int HoverThrottleInterval { get; set; }
Property Value
System.Int32
|
ItemTemplate
Defines the Item Template of the component.
Declaration
public RenderFragment<RatingItemTemplateContext> ItemTemplate { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment<RatingItemTemplateContext>
|
Label
Adds a label next to the rating.
Declaration
public string Label { get; set; }
Property Value
System.String
|
Max
Defines the maximum number of items for the component.
Declaration
public double Max { get; set; }
Property Value
System.Double
|
PrecisionMode
Declaration
public RatingPrecisionMode PrecisionMode { get; set; }
Property Value
RatingPrecisionMode
|
ReadOnly
Defines whether the component should be rendered in a readonly state.
Declaration
public bool ReadOnly { get; set; }
Property Value
System.Boolean
|
SelectionMode
Controls the selection mode of the component. Available options are: Single and Continuous.
Declaration
public RatingSelectionMode SelectionMode { get; set; }
Property Value
RatingSelectionMode
|
Value
Defines the value of the component.
Declaration
public double Value { get; set; }
Property Value
System.Double
|
ValueChanged
Declaration
public EventCallback<double> ValueChanged { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<System.Double>
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
OnAfterRenderAsync(Boolean)
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
System.Boolean
firstRender
|
Returns
System.Threading.Tasks.Task
|
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()