This is a migrated thread and some comments may be shown as answers.

ContextActions with ListViewTemplateCell and RadListView

2 Answers 135 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Garrett
Top achievements
Rank 1
Garrett asked on 07 Nov 2018, 07:27 PM
Is there anyway to show the contextactions assigned to a ListViewTemplateCell in a RadListView?

In vanilla Xamarin Forms, holding down on an item brings up a context menu that can access these actions. Assigning MenuItems to the ListViewTemplateCell  ContextActions collection doesn't seem to reproduce this behavior.

2 Answers, 1 is accepted

Sort by
0
Garrett
Top achievements
Rank 1
answered on 08 Nov 2018, 02:03 PM
This is for Xamarin Forms, testing on android.
0
Didi
Telerik team
answered on 09 Nov 2018, 01:11 PM
Hello Garrett,

Currently the RadListView does not provide Context Menu out of the box. Instead of a Context Menu the RadListView provides Gestures. 

In order to implement similar scenario you could use the RadListView Cell Swipe gesture. It allows you to swipe on cell and on the swipe background you could place custom views ready for interaction (delete buttons, more buttons, images and etc.) . For more details please take a look at the following link in our documentation: https://docs.telerik.com/devtools/xamarin/controls/listview/gestures/listview-gestures-cell-swipe

Let me know if the suggestion is suitable for you.

Regards,
Didi
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ListView
Asked by
Garrett
Top achievements
Rank 1
Answers by
Garrett
Top achievements
Rank 1
Didi
Telerik team
Share this question
or