Category / Section
How to restrict the decimal values in NumericUpDown ?
1 min read
In NumericUpDown, you can restrict the decimal values by using DecimalPlaces property.
XAML
<syncfusion:NumericUpDown x:Name="numericupdown" DecimalPlaces="0" HorizontalAlignment="Center" VerticalAlignment="Center" Height="30" Width="100"> </syncfusion:NumericUpDown>
C#
numericupdown.DecimalPlaces = 0;