Skip to main content
Tab

ASPxRatingControl.ItemWidth Property

Gets or sets an item’s width.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
Int32 19

An integer value representing the item’s width in pixels.

Remarks

The ItemWidth property, together with the ASPxRatingControl.ItemHeight 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