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

RepositoryItemSpinEdit.Increment Property

Gets or sets the unit value by which the editor’s value changes when a user clicks a spin button or presses the Up Arrow or Down Arrow key.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DXCategory("Behavior")]
[SmartTagProperty("Increment", "")]
public decimal Increment { get; set; }

Property Value

Type Description
Decimal

A decimal value that specifies the unit value.

Remarks

The Increment property specifies the unit value. The editor’s value changes by one unit when a user clicks a spin button or presses the Up Arrow or Down Arrow key.

If the editor does not accept decimal numbers (see IsFloatValue), the unit value is rounded to the nearest integer.

See Also