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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Old value when changed value

Thread ID:





141375 Dec 7,2018 05:37 PM UTC Dec 11,2018 03:56 AM UTC Xamarin.Forms 3
Tags: SfNumericTextBox
Renato Cordeiro
Asked On December 7, 2018 05:37 PM UTC


When I changed the value in a SfNumericTextBox  and i clicked direct in the button on the commandbar, don't geted the currente value.
This only happend in uwp.

Paul Anderson S [Syncfusion]
Replied On December 10, 2018 12:43 PM UTC

Hi Renato, 
Greetings from Syncfusion Support. 
By default, SfNumericTextBox’s ValueChangedMode is OnLostFocus. In this mode, SfNumericTextBox’s Value updated while its focus gets lost. But, if we press button in command bar directly after entered the value in SfNumericTextBox, then its focus not get lost as per command bar behavior in UWP. So, you can resolve this issue by changing the ValueChangeMode of SfNumericTextBox as OnKeyFocus. 
After analysis in source level that we concluded that we can achieve your requirement in sample level by setting “OnKeyFocus” value to this “ValueChangeMode” property. 
We prepared the sample for your requirement. Please find the sample from the below link. 
Paul Anderson 

Renato Cordeiro
Replied On December 10, 2018 01:20 PM UTC


Thanks, worked perfectly.

Paul Anderson S [Syncfusion]
Replied On December 11, 2018 03:56 AM UTC

Hi Renato, 
Thanks for the update. We are happy to assist you. Please get in touch if you required further assistance. 
Paul Anderson 


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

Live Chat Icon For mobile
Live Chat Icon