Articles in this section
Category / Section

How to set interval for numerical value increased or decreased in WPF UpDown control?

1 min read

The numerical value increased or decreased when the Repeat buttons are clicked. Increment or Decrement value can be changed by Step property in WPF UpDown control.

XAML

//Code Explains how to change the interval in UpDown Control
<Grid>
     <syncfusion:UpDown x:Name="UpDown" Width="150" Height="60" Step="5"/>
</Grid>

C#

//Code Explains how to change the interval in UpDown Control
namespace UpDown_Step
{
  public partial class MainWindow : Window
  {
     public MainWindow()
     {
       InitializeComponent();
       UpDown.Step = 5;
     }
  }
}

Output:

UpDownControl sets Step value as five

             WPF UpDown with Step Value

Step value is incremented:

             Increased WPF UpDown step value

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied