Skip to main content

TextEdit.Spin Event

Occurs when the UP or DOWN ARROW key is pressed.

Namespace: DevExpress.UI.Xaml.Editors

Assembly: DevExpress.UI.Xaml.Editors.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public event SpinEventHandler Spin

Event Data

The Spin event's data class is DevExpress.UI.Xaml.Editors.SpinEventArgs.

Remarks

The Spin event occurs when an end-user presses the UP or DOWN ARROW keys, or when the TextEdit.SpinUp or TextEdit.SpinDown method is called. The Spin event can be handled to increase or decrease the editor’s value in a custom manner.

Set the Handled parameter to true to indicate that the event has been handled and no default processing is required. If the Handled parameter remains set to false, the current end-user action will be processed by the editor.

Use the event parameter’s IsSpinUp property to obtain whether the editor has been spun up or down.

See Also