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

RadListView swipe with selection

1 Answer 114 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Andrey
Top achievements
Rank 1
Andrey asked on 22 Feb 2018, 08:29 AM

When i'm define background color for list item and trying to select, gray selection didn't show up

 

But if i don't define background color and trying to swipe, then always shows up both labels from ItemSwipeContentTemplate. I need two labels on swipe (left-to-right) "delete" and (right-to-left) "edit". 

 

How can I solve this?

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 26 Feb 2018, 03:35 PM
Hi Andrey,

You can find the task of styling the ListView items in the following help topic: ListView - Features - Styling. Note that there are four Style properties -- ItemStyle, SelectedItemStyle, PressedItemStyle, and ReorderItemStyle. You can define ItemStyle and SelectedItemStyle in this case. These should not interfere with the ItemSwypeContentTemplate. Can you share your ListView configuration, so that I can review it? Please, share the platform you are seeing the issue on, as well as any other detail that might be related -- do you see it on simulator, on device or both, the OS version etc. Thank you.

Best regards,
Ves
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
Andrey
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or