Skip to main content
Tab

ASPxRatingControl.ItemHeight Property

Gets or sets an item‘s height.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(19)]
public int ItemHeight { get; set; }

Property Value

Type Default Description
Int32 19

An integer value representing an item’s height in pixels.

Remarks

The ItemHeight property, together with the ASPxRatingControl.ItemWidth property, are useful to specify the item‘s size, for customizing the items images via the ASPxRatingControl.ImageMapUrl 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