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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfListView binding not working when AllowSwiping is set to true

Thread ID:

Created:

Updated:

Platform:

Replies:

130354 May 8,2017 03:44 PM UTC May 9,2017 10:11 AM UTC Xamarin.Forms 1
loading
Tags: SfListView
Sebastian Haba
Asked On May 8, 2017 03:59 PM UTC

When I enable swiping on SfListView itemsource is not bound. An exception is thrown:  System.InvalidOperationException: The BindableProperty "Width" is readonly.

Dinesh Babu Yadav [Syncfusion]
Replied On May 9, 2017 10:11 AM UTC

Hi Sebastian, 
 
Thank you for using Syncfusion Products. 
 
We have checked the reported issue “SfListView binding is not working when AllowSwiping is set to true” at our end by defining the AllowSwiping as “True” and bind a underlying collection to the ItemsSource property but we didn’t face any issue as reported. From the given information, we suspect that the exception “System.InvalidOperationException: The BindableProperty "Width" is readonly” throws due to assigning the value to the Width property in the application which is readonly type. And also we would like to let you know that AllowSwiping property enables the swiping option only in SfListView. So, we highly recommend you to ensure that whether you have assigned any value to the Width bindable property in your application.  
 
For your reference, we have attached the working sample which enables the swiping option and bind a underlying collection to the ItemsSource property and you can download it from the below location. 
 
 
Please let us know if you require further assistance. 
 
Regards, 
Dinesh Babu Yadav 
 


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.

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

;