Back to Devexpress

RepositoryItemRatingControl.ValueInterval Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemratingcontrol-8c09eadb.md

latest1.9 KB
Original Source

RepositoryItemRatingControl.ValueInterval Property

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

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Behavior")]
public decimal ValueInterval { get; set; }
vb
<DXCategory("Behavior")>
Public Property ValueInterval As Decimal

Property Value

TypeDescription
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

RepositoryItemRatingControl Class

RepositoryItemRatingControl Members

DevExpress.XtraEditors.Repository Namespace