Skip to main content
Tab

ASPxRatingControl.ImageMapUrl Property

Gets or sets the URL pointing to the image representing an item within the ASPxRatingControl.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

[DefaultValue("")]
public string ImageMapUrl { get; set; }

Property Value

Type Default Description
String String.Empty

A System.String value specifying the URL representing the path to the image.

Remarks

The ImageMapUrl property is useful to specify a URL representing the path to the custom image. Custom image can be used to customize the control’s items appearance in different states (hovered, selected, etc.) - either a unified image for all items, or a specific appearance for each item in accordance with the ASPxRatingControl.ItemCount property.

For more information, see the Customizing Item’s Images topic.

<dx:ASPxRatingControl ID="Rating" runat="server" Value="3.75" FillPrecision="Exact"
                      ImageMapUrl="~/rating.png" 
                      ItemHeight="24" 
                      ItemWidth="24" />
See Also