TextEdit.Spin Event

Occurs when the UP or DOWN ARROW key is pressed.

Namespace: DevExpress.UI.Xaml.Editors

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


public event SpinEventHandler Spin
Public Event Spin As SpinEventHandler

Event Data

The Spin event handler receives an argument of the DevExpress.UI.Xaml.Editors.SpinEventArgs type.


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