Back to Devexpress

RepositoryItemRatingControl.ItemCount Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemratingcontrol-700c4742.md

latest1.7 KB
Original Source

RepositoryItemRatingControl.ItemCount Property

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

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(5)]
[DXCategory("Appearance")]
public int ItemCount { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(5)>
Public Property ItemCount As Integer

Property Value

TypeDefaultDescription
Int325

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

RepositoryItemRatingControl Class

RepositoryItemRatingControl Members

DevExpress.XtraEditors.Repository Namespace