Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenRating

    RadzenRating component.

    Inheritance
    object
    ComponentBase
    RadzenComponent
    FormComponent<int>
    RadzenRating
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    IRadzenFormComponent
    Inherited Members
    FormComponent<int>._value
    FormComponent<int>.SetParametersAsync(ParameterView)
    FormComponent<int>.Dispose()
    FormComponent<int>.GetValue()
    FormComponent<int>.OnContextMenu(MouseEventArgs)
    FormComponent<int>.GetClassList(string)
    FormComponent<int>.FocusAsync()
    FormComponent<int>.Name
    FormComponent<int>.TabIndex
    FormComponent<int>.Placeholder
    FormComponent<int>.Disabled
    FormComponent<int>.EditContext
    FormComponent<int>.Form
    FormComponent<int>.ValueChanged
    FormComponent<int>.HasValue
    FormComponent<int>.IsBound
    FormComponent<int>.Value
    FormComponent<int>.Change
    FormComponent<int>.FieldIdentifier
    FormComponent<int>.ValueExpression
    FormComponent<int>.FormFieldContext
    FormComponent<int>.CurrentPlaceholder
    RadzenComponent.OnMouseEnter()
    RadzenComponent.OnMouseLeave()
    RadzenComponent.GetCssClass()
    RadzenComponent.GetId()
    RadzenComponent.Debounce(Func<Task>, int)
    RadzenComponent.OnInitialized()
    RadzenComponent.OnAfterRenderAsync(bool)
    RadzenComponent.RaiseContextMenu(MouseEventArgs)
    RadzenComponent.RaiseMouseEnter()
    RadzenComponent.RaiseMouseLeave()
    RadzenComponent.Attributes
    RadzenComponent.Element
    RadzenComponent.MouseEnter
    RadzenComponent.MouseLeave
    RadzenComponent.ContextMenu
    RadzenComponent.Culture
    RadzenComponent.DefaultCulture
    RadzenComponent.Style
    RadzenComponent.Visible
    RadzenComponent.UniqueID
    RadzenComponent.JSRuntime
    RadzenComponent.IsJSRuntimeAvailable
    RadzenComponent.Reference
    RadzenComponent.CurrentStyle
    ComponentBase.OnInitializedAsync()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.StateHasChanged()
    ComponentBase.ShouldRender()
    ComponentBase.OnAfterRender(bool)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.DispatchExceptionAsync(Exception)
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    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

    true if is read only; otherwise, false.

    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
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    GetComponentCssClass()

    Gets the component CSS class.

    Declaration
    protected override string GetComponentCssClass()
    Returns
    Type Description
    string
    Overrides
    RadzenComponent.GetComponentCssClass()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    IRadzenFormComponent

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT