Back to Devexpress

TextEdit.SpinDown() Method

wpf-devexpress-dot-xpf-dot-editors-dot-textedit-3358273c.md

latest2.0 KB
Original Source

TextEdit.SpinDown() Method

Decrements the value of a masked editor.

Namespace : DevExpress.Xpf.Editors

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public void SpinDown()
vb
Public Sub SpinDown

Remarks

The SpinDown 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 decrement the editor’s value by scrolling down the mouse wheel or by pressing the DOWN key. If the editor’s TextEdit.MaskType property is set to MaskType.DateTime, the SpinDown method decrements the component of the date where the caret is located.

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

To learn more, see Mask Types.

See Also

MaskType

SpinUp()

TextEdit Class

TextEdit Members

DevExpress.Xpf.Editors Namespace