Class
RatingItemTemplateContext

Represents the context of the Rating item template.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class RatingItemTemplateContext

Inheritance: objectRatingItemTemplateContext

Constructors

RatingItemTemplateContext()

Declaration

cs-api-definition
public RatingItemTemplateContext()

Properties

Half

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

Declaration

cs-api-definition
public bool Half { get; set; }

Property Value

bool

Highlighted

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.

Declaration

cs-api-definition
public bool Highlighted { get; set; }

Property Value

bool

Index

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

Declaration

cs-api-definition
public int Index { get; set; }

Property Value

int

Selected

Indicates whether the item is selected.

Declaration

cs-api-definition
public bool Selected { get; set; }

Property Value

bool