Back to Devexpress

ASPxRatingControl.ImageMapUrl Property

aspnet-devexpress-dot-web-dot-aspxratingcontrol.md

latest2.3 KB
Original Source

ASPxRatingControl.ImageMapUrl Property

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue("")]
public string ImageMapUrl { get; set; }
vb
<DefaultValue("")>
Public Property ImageMapUrl As String

Property Value

TypeDefaultDescription
StringString.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.

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

See Also

ItemWidth

ItemHeight

Rating Control

ASPxRatingControl Class

ASPxRatingControl Members

DevExpress.Web Namespace