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

SfListView binding not working when AllowSwiping is set to true

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

1 Reply

DB Dinesh Babu Yadav Syncfusion Team 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 
 


Loader.
Up arrow icon