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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

MVVM two way binding not working for SfNumericUpDown

Thread ID:

Created:

Updated:

Platform:

Replies:

144173 Apr 23,2019 01:16 PM UTC Apr 30,2019 02:00 PM UTC Xamarin.iOS 3
loading
Tags: SfNumericUpDown
Deepa
Asked On April 23, 2019 01:16 PM UTC

I am trying to use MVVM two way binding on SfNumericUpDown in xamarin.ios. But it is not working

Below is the sample code

public Binding<int, object> purchasedQtyBinding = this.SetBinding(
                   () => _materialDetails.QuantityPurchased,
                   () => txtPurchasedQuantity.Value,
                   BindingMode.TwoWay);

And my model property is as below:

private int quantityPurchased;
        public int QuantityPurchased
        {
            get
            {
                return quantityPurchased;
            }
            set
            {
                Set(ref quantityPurchased, value);
            }
        }

Bharathiraja K [Syncfusion]
Replied On April 24, 2019 07:31 AM UTC

Hi Deepa, 
 
Greetings from Syncfusion. Could you please confirm whether you are using MVVM Light in your Xamarin.iOS application to achieve Two-way Binding concepts? Please provide this information. So that, we could analyze and provide you solution based on this. 
 
Regards, 
Bharathi. 


Deepa
Replied On April 24, 2019 07:54 AM UTC

Hi,

I am using the following NuGet package:
GalaSoft.MvvmLight

Manojkiran Sudhakar [Syncfusion]
Replied On April 30, 2019 02:00 PM UTC

  
Hi Deepa, 
  
We have validated the reported issue. We have created a custom text view inherited from UITextView. 
  
For this case itself, source property is not getting updated when updating target property value in TouchesBegan method of custom text view. So we have created a bug report for this in Xamarin.iOS github page. Please have a link for reference: 
  
  
We will let you know once we get response from the Xamarin team. 
  
We appreciate your patience until then. 
 
Regard, 
Manoj S 


CONFIRMATION

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