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

SpinEventArgs.IsSpinUp Property

Gets or sets whether the edit value has been increased.

Namespace: DevExpress.Xpf.Editors

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

public bool IsSpinUp { get; set; }

Property Value

Type Description
Boolean

true if the edit value has been increased; false if the edit value has been decreased.

Remarks

The SpinEventArgs class provides data for the TextEdit.Spin event, which occurs when an end-user presses the UP or DOWN ARROW keys, or scrolls the mouse wheel.

The editor’s value increases when an end-user presses the UP ARROW key or scrolls the mouse wheel up, and decreases when the user presses the DOWN ARROW key or scrolls the mouse wheel down. The editor’s value can also be incremented or decremented from code by calling the TextEdit.SpinUp or TextEdit.SpinDown methods, respectively.

See Also