Articles in this section

How to restrict the decimal values in WPF UpDown?

You can restrict the decimal values by using NumberDecimalDigits property in WPF UpDown control.

XAML

<syncfusion:UpDown x:Name="updown" NumberDecimalDigits="0" HorizontalAlignment="Center" VerticalAlignment="Center" Height="30" Width="100">
</syncfusion:UpDown>

 

C#

updown.NumberDecimalDigits = 0;

 

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