A newer version of this page is available. Switch to the current version.

RepositoryItemRatingControl.ItemCount Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(5)]
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