Category / Section
How to set scrollIntervel for WPF PercentTextBox?
1 min read
WPF PercentTextBox control allows you to increase or decrease the percent value by pressing up-arrow and down-arrow keys in keyboard or mouse wheel over the control. The ScrollInterval property is used to specify the increment or decrement interval. The default value of ScrollInterval is 1.
XAML
<Grid> <syncfusion:PercentTextBox Name="Percent" ScrollInterval="10.0" Width="150" Height="80" MinValue="0" MaxValue="100" > </syncfusion:PercentTextBox> </Grid>
C#
//Code Explains how to set scroll interval for Percent Textbox namespace ScrollInterval { public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); Percent.ScrollInterval = 10.0; } } }