IS it possible to change the swipe behavoiur?

Currently we've got a swipe view on multiple SfLists we use, however i'm wondering if its possible to change the behaviour of this? 

When swiping, the swipe template is dragged into view at the moment. Is it possible to change this to reveal the template instead? So rather than the itemtemplate and the swipetemplate being next to one another, they are stacked? I know this is possible with Maui's own swipe view, however give we use the SfListView, i thought it would be worth asking the question


sflistview swipe.png


3 Replies

SY Suthi Yuvaraj Syncfusion Team February 9, 2024 01:21 PM UTC

Hi Josh Southern,


We have reviewed your request regarding the swipe functionality similar to the .Net MAUI SwipeView. We would like to inform you that our current version of SfListView replicates the behavior of the SwipeView with the 'Reveal' swipe mode. This allows users to swipe and reveal both left and right templates, akin to the SwipeView's Reveal mode. It is important to note that the SfListView's ItemTemplate and SwipeTemplate are layered, with the swipe views arranged about the ItemTemplate. We have included a sample for your reference, please take a look and let us know if there has been any misunderstanding of your requirements.


Additionally, if you wish to modify the SfListView's swipe functionality to match the SwipeView's 'Execute' mode, you have the option to customize the swipe behavior, including its offset, and handle the swipe-ended event accordingly. If this interests you, please refer to the documentation provided below for further details. If this does not meet your needs, we request you clarify your requirements and share a video illustration of your expectations. This will enable us to better understand your needs and provide an effective solution promptly.


UG Link:https://help.syncfusion.com/maui/listview/swiping#performing-swipe-delete-operation 

Regards,

Suthi Yuvaraj


Attachment: Swipe_f7434a7a.zip


JS Josh Southern February 12, 2024 06:08 AM UTC

We'll take a look, thank you.



SY Suthi Yuvaraj Syncfusion Team February 13, 2024 10:38 AM UTC

Josh Southern,

Thanks for the update, we will wait to hear from you.


Loader.
Up arrow icon