New to Telerik UI for BlazorStart a free 30-day trial

Represents the context of the Rating item template.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

C#
public class RatingItemTemplateContext

Inheritance: objectRatingItemTemplateContext

Constructors

C#
public RatingItemTemplateContext()

Properties

Indicates whether the item is half-selected. Works only with Half precision mode.

C#
public bool Half { get; set; }

Indicates whether the item is highlighted. If selection mode is Continuous, all items up to the currently hovered one will be highlighted. If selection mode is Single, only the hovered item will be highlighted.

C#
public bool Highlighted { get; set; }

Zero-based index. Represents the index of currently iterated rating item.

C#
public int Index { get; set; }

Indicates whether the item is selected.

C#
public bool Selected { get; set; }