Articles in this section
Category / Section

How to restrict the decimal values in WinRT NumericUpDown?

1 min read

In SfNumericUpDown, decimal values can be restricted by using the MaximumNumberDecimalDigits property.

XAML

 <Input:SfNumericUpDown Name="numupdwn"  MaximumNumberDecimalDigits="0"> 
</Input:SfNumericUpDown>

C#

numupdwn.MaximumNumberDecimalDigits = 0;

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