Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]Welcome to DevExpress .NET Documentation
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
   Reporting
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Printing-Exporting
  [Collapse]Data Editors
    Included Components
   [Expand]Implementation Details
   [Expand]Getting Started
   [Collapse]Editor Types
     BarCodeEdit
     BrushEdit
     ButtonEdit
     Calculator
     CheckEdit
     ColorEdit
     ComboBoxEdit
     DateNavigator
     DateEdit
     DropDownButton
     FlyoutControl
     FontEdit
     HyperlinkEdit
     ImageEdit
     ListBoxEdit
     LookUpEdit
     MemoEdit
     PasswordBoxEdit
     PopupBrushEdit
     PopupCalcEdit
     PopupColorEdit
     PopupImageEdit
     ProgressBarEdit
     RangeControl
     RatingEdit
     SparklineEdit
     SpinEdit
     SimpleButton
     SplitButton
     TextEdit
     ToggleSwitchEdit
     Token Editors
     TrackBarEdit
   [Expand]Common Features
   [Expand]Range Control
   [Expand]Visual Elements
   [Expand]End-User Capabilities
   [Expand]Examples
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Diagram Control
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

SpinEdit

Expanded Overview

The SpinEdit control allows end-users to adjust a numeric values using on screen buttons, mouse wheel or keyboard.

The SpinEdit control offers the following features.

  • Customizable increment/decrement value

    Use the SpinEdit.Increment property to specify the SpinEdit's increment value.
  • Customizable value range

    You can limit the range of values accepted by the SpinEdit control using the SpinEdit.MinValue and SpinEdit.MaxValue properties.
  • Optional mouse wheel input processing

    End-users can modify the SpinEdit's value with a mouse wheel.

    Setting the SpinEdit's TextEdit.AllowSpinOnMouseWheel property to true activates the mouse wheel input processing.

  • Value increment acceleration

    SpinEdit's buttons support increment acceleration. Holding the spin button makes a value increment faster.
  • Optional text box deactivation

    Setting the SpinEdit's ButtonEdit.IsTextEditable property to false deactivates the editor's text box. With the text box deactivated, end-users can only change the editor's value using the spin buttons, arrow keys and mouse wheel.
  • Built-in numeric mask

    The numeric mask prevents end-users from entering the non-numeric characters.
  • Optimized for in-place editing

    SpinEdit can be used standalone or as an in-place editor nested in a container control. The SpinEditSettings class implements the in-place editing functionality. See Inplace Editors to learn more.

Expanded Standalone SpinEdit

To add a standalone SpinEdit to a Window, drag it from the Toolbox.

The following sample demonstrates how to create a SpinEdit using XAML markup.

Expanded In-place SpinEdit

To embed a SpinEdit into a container control, use the SpinEditSettings class.

The following sample demonstrates how to embed a SpinEdit into a GridControl column.

Is this topic helpful?​​​​​​​