We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SFNumericTextBox integer databinding

Thread ID:





113989 Oct 21,2013 07:21 PM UTC Oct 22,2013 06:17 AM UTC WinRT 1
Tags: Tools
Administrator [Syncfusion]
Asked On October 21, 2013 07:21 PM UTC


I was wondering how to force a SfNumericTextBox to be integer type.

I have to bind an integer property to a SfNumericTextBox but I always have exceptions when I enter a decimal with the keyboard.

The user should not be able to enter any decimal numbers within it so that I can keep the constraint into my property.

Thanks, Rafi

Vignesh V [Syncfusion]
Replied On October 22, 2013 06:17 AM UTC

Hi Rafi,

We have prepared a sample that tries to meet your requirement 'Restricting decimal digits in NumericTextBox and to enter only integer values'. In the sample we have set 'MaximumNumberDecimalDigits' property to zero and NumberFormat's NumberDecimalDigits to zero.

Please find the sample in below link,


Please let us know if you need further assistance.

Vignesh V


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon