TextEdit.Spin Event
Occurs when either the UP or DOWN ARROW key is pressed or the mouse wheel is rotated.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[DXCategory("Events")]
public event SpinEventHandler Spin
#Event Data
The Spin event's data class is SpinEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Handled | Gets or sets whether the event has been handled, and no default processing is required. |
Is |
A Boolean value that specifies whether the Up Arrow key or Up Spin button (in a Spin |
#Remarks
This event occurs when an end-user presses the UP or DOWN ARROW keys or the mouse wheel is rotated. It 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 is left set to false, the current end-user action will be processed by the editor.
The editor’s Spin event is equivalent to the RepositoryItemTextEdit.Spin event available via the TextEdit.Properties object, i.e., adding/removing an event handler for the current event actually affects the RepositoryItemTextEdit.Spin event.
Note
The Spin event is not raised by look up editors (Look
Note
The Spin event is not raised by Combo