Back to Devexpress

TextEdit.AllowSpin Property

wpf-devexpress-dot-xpf-dot-editors-dot-textedit-88cd884c.md

latest1.4 KB
Original Source

TextEdit.AllowSpin Property

Gets or sets whether a user can use a spin editor to select a value. This is a dependency property.

Namespace : DevExpress.Xpf.Editors

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public bool AllowSpin { get; set; }
vb
Public Property AllowSpin As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true, if a user can use the spin editor to select a value; otherwise, false.

|

Remarks

The following code sample disables a SpinEdit value spin:

xaml
<Window ...
    xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
    <StackPanel>
      <dxe:SpinEdit AllowSpin="False" />
    </StackPanel>
</Window>

See Also

TextEdit Class

TextEdit Members

DevExpress.Xpf.Editors Namespace