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.v24.2.dll
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Increment 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.