Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TextEdit.SpinUp() Method

In This Article

Increments the value of a masked editor.

Namespace: DevExpress.Xpf.Editors

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public void SpinUp()

#Remarks

The SpinUp method is in effect if the editor’s TextEdit.MaskType property is set to MaskType.Numeric, MaskType.DateTime, MaskType.DateOnly, or MaskType.TimeOnly.

An end-user can increment the editor’s value by scrolling up the mouse wheel or by pressing the UP key. If the editor’s TextEdit.MaskType property is set to MaskType.DateTime, the SpinUp method increments a component of the date where the caret is located.

To decrement the editor’s value, use the TextEdit.SpinDown method. Calling the SpinUp or TextEdit.SpinDown method fires the TextEdit.Spin event.

To learn more, see Mask Types.

See Also