Skip to main content

RepositoryItemRatingControl.ItemCount Property

Gets or sets the number of rating items within this RatingControl.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

[DefaultValue(5)]
[DXCategory("Appearance")]
public int ItemCount { get; set; }

Property Value

Type Default Description
Int32 5

An Int32 value that is the number of rating items within this RatingControl.

Remarks

The ItemCount property specifies the number of rating items within a control, and thus, the control’s maximum rating. The default ItemCount property value is 5, which corresponds to a standard five-grades mark.

See Also