Back to Devexpress

ASPxRatingControl.ItemWidth Property

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

latest1.9 KB
Original Source

ASPxRatingControl.ItemWidth Property

Gets or sets an item’s width.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(19)]
public int ItemWidth { get; set; }
vb
<DefaultValue(19)>
Public Property ItemWidth As Integer

Property Value

TypeDefaultDescription
Int3219

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.

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

See Also

ItemHeight

ImageMapUrl

ASPxRatingControl Class

ASPxRatingControl Members

DevExpress.Web Namespace