RadRatingItem
Represents a single visual unit (e.g., star) within a RadRating control. Supports different image URLs for normal, selected, hovered, and hovered-selected states.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class RadRatingItem : StateManager, IMarkableStateManager, IStateManager
Inheritance: objectStateManagerRadRatingItem
Implements:
Inherited Members
Constructors
public RadRatingItem()
Properties
Gets or sets the CSS class of the rating item.
public string CssClass { get; set; }
The CSS class to apply to the rating item. The default value is empty string.
Gets or sets the path to an image to display for the item when it is hovered.
public string HoveredImageUrl { get; set; }
The path to the image to display for the item. The default value is empty string.
Use the HoveredImageUrl property to specify the image for the item when it is hovered. If the HoveredImageUrl property is set to empty string, the item will display the HoveredSelectedImageUrl image. Use "~" (tilde) when referring to images within the current ASP.NET application.
Gets or sets the path to an image to display for the selected item when it is hovered.
public string HoveredSelectedImageUrl { get; set; }
The path to the image to display for the item. The default value is empty string.
Use the HoveredSelectedImageUrl property to specify the image for the selected item when it is hovered. If the HoveredSelectedImageUrl property is set to empty string, the item will display the SelectedImageUrl image. Use "~" (tilde) when referring to images within the current ASP.NET application.
Gets or sets the path to an image to display for the item.
public string ImageUrl { get; set; }
The path to the image to display for the item. The default value is empty string.
Use the ImageUrl property to specify the image for the item. If the ImageUrl property is set to empty string, the item will render the image, defined in the Skin of the rating control. Use "~" (tilde) when referring to images within the current ASP.NET application.
Gets the index of the rating item in the Items collection of the rating control.
public int Index { get; }
The index of the rating item.
Gets or sets the path to an image to display for the item when it is selected.
public string SelectedImageUrl { get; set; }
The path to the image to display for the item. The default value is empty string.
Use the SelectedImageUrl property to specify the image for the item when it is selected. If the SelectedImageUrl property is set to empty string, the item will display the ImageUrl image. Use "~" (tilde) when referring to images within the current ASP.NET application.
Gets or sets the tooltip of the rating item.
public string ToolTip { get; set; }
The tooltip of the rating item. The default value is empty string.