Back to Devexpress

ASPxRatingControl.ItemHeight Property

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

latest2.1 KB
Original Source

ASPxRatingControl.ItemHeight Property

Gets or sets an item‘s height.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

Property Value

TypeDefaultDescription
Int3219

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.

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

See Also

ItemWidth

ImageMapUrl

Rating Control

ASPxRatingControl Class

ASPxRatingControl Members

DevExpress.Web Namespace