Skip to main content
A newer version of this page is available. .

RepositoryItemRatingControl.ItemCount Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v18.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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ItemCount property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also