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

Listview Swipe allowing only for some list of items not for all list items

Thread ID:





150432 Jan 7,2020 05:53 AM UTC Jan 7,2020 06:05 AM UTC Xamarin.Forms 1
Tags: SfListView
Web Synergies
Asked On January 7, 2020 05:53 AM UTC

Hi All

We need to implement listview swipe only for some of list items not for all list items based on status of list items.

Thank You

Lakshmi Natarajan [Syncfusion]
Replied On January 7, 2020 06:05 AM UTC

Hi Web Synergies, 
You can handle SwipeStarted event of ListView and cancel swiping for the items based on ItemData property of event argument. 
The SwipeStarted event provides the following properties in their arguments: 
·        ItemIndex: Defines the swiping item index. 
·        ItemData: Defines the underlying data associated with the swiped item. as its arguments. 
·        SwipeDirection: Defines the swipe direction of the swiped item. 


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