Table of Contents

Class RadzenRating

Namespace
Radzen.Blazor
Assembly
Radzen.Blazor.dll

RadzenRating component.

public class RadzenRating : FormComponent<int>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable, IRadzenFormComponent
Inheritance
RadzenRating
Implements
Inherited Members

Examples

<RadzenRating Stars="10" Change=@(args => Console.WriteLine($"Value: {args}")) />

Constructors

RadzenRating()

public RadzenRating()

Properties

ClearAriaLabel

Gets or sets the clear aria label text.

[Parameter]
public string ClearAriaLabel { get; set; }

Property Value

string

The clear aria label text.

RateAriaLabel

Gets or sets the rate aria label text.

[Parameter]
public string RateAriaLabel { get; set; }

Property Value

string

The rate aria label text.

ReadOnly

Gets or sets a value indicating whether is read only.

[Parameter]
public bool ReadOnly { get; set; }

Property Value

bool

true if is read only; otherwise, false.

Stars

Gets or sets the number of stars.

[Parameter]
public int Stars { get; set; }

Property Value

int

The number of stars.

Methods

BuildRenderTree(RenderTreeBuilder)

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

GetComponentCssClass()

protected override string GetComponentCssClass()

Returns

string