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
Step value is incremented: