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

SpinEdit.Increment Property

Gets or sets a value by which the editor’s value changes each time the editor is spun. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v19.2.dll

Declaration

public decimal Increment { get; set; }

Property Value

Type Description
Decimal

A decimal value representing the increment for the spin editor.

Remarks

If the SpinEdit.IsFloatValue property is set to true, the increment value is a float. Otherwise, it is rounded to the nearest integer.

An end user can increment or decrement the editor’s value by pressing the UP or DOWN ARROW keys, scrolling the mouse wheel, or clicking the editor’s spin buttons. The editor’s value can also be incremented or decremented from code by calling the TextEdit.SpinUp or TextEdit.SpinDown methods, respectively.

The following code snippets (auto-collected from DevExpress Examples) contain references 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.

See Also