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.
Unfortunately, activation email could not send to your email. Please try again.

How to bind two Numerictextboxes in Xamarin forms

SfNumericTextBox allows its properties to bind with other elements. In this, we bind the value properties of one SfNumericTextBox into another NumericTextBox’s value properties. Hence, we can show that the changes of one numericTextNBox will reflect in other. The following steps to bind the two numericTextBoxes.

 

Step 1: Add require assemblies to get the view of NumericTextBox.

Step 2: Declare the two NumericTextBoxes and binding the Value property values with another. That property’s values are from ViewModel class. Set the binding context of that page with the instance of ViewModel class.

 

The following code example will explain how to do the same in Xamarin.Forms

 

Code in Xaml:

 

 

Code in C#;

 

 

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
7584 03/23/2017 03/23/2017 Xamarin.Forms SfNumericTextBox
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.