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

RepositoryItemRatingControl.ValueInterval Property

Gets or sets the difference in two neighboring rating items’ values.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DXCategory("Behavior")]
public decimal ValueInterval { get; set; }

Property Value

Type Description
Decimal

A Decimal value that is the difference in two neighboring rating items’ values.

Remarks

The RepositoryItemRatingControl.FirstItemValue property allows you set the value of the first rating item (1 by default). A second item will have a value of the first item plus the ValueInterval property value. Similarly, any following item will add this interval to the value of a preceding item. The total amount of rating items depends on the RepositoryItemRatingControl.ItemCount property.

See Also