Class RadzenRating
RadzenRating component.
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenRating : FormComponent<int>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable, IRadzenFormComponent
Examples
<RadzenRating Stars="10" Change=@(args => Console.WriteLine($"Value: {args}")) />
Constructors
RadzenRating()
RadzenRating component.
Declaration
public RadzenRating()
Examples
<RadzenRating Stars="10" Change=@(args => Console.WriteLine($"Value: {args}")) />
Properties
ClearAriaLabel
Gets or sets the clear aria label text.
Declaration
[Parameter]
public string ClearAriaLabel { get; set; }
Property Value
Type | Description |
---|---|
string | The clear aria label text. |
RateAriaLabel
Gets or sets the rate aria label text.
Declaration
[Parameter]
public string RateAriaLabel { get; set; }
Property Value
Type | Description |
---|---|
string | The rate aria label text. |
ReadOnly
Gets or sets a value indicating whether is read only.
Declaration
[Parameter]
public bool ReadOnly { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
Stars
Gets or sets the number of stars.
Declaration
[Parameter]
public int Stars { get; set; }
Property Value
Type | Description |
---|---|
int | The number of stars. |
Methods
BuildRenderTree(RenderTreeBuilder)
RadzenRating component.
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
RenderTreeBuilder | __builder |
Overrides
GetComponentCssClass()
Gets the component CSS class.
Declaration
protected override string GetComponentCssClass()
Returns
Type | Description |
---|---|
string |