Disable cross-slide selection for a listview

2019-02-22 20:10发布

I'm designing an app that has a vertically panning one-dimensional list in the centre and the user is able to flip between lists horizontally due to a flipview.

A vertically panning one-dimensional list

When a user drags horizontally within the listview, it selects that row because of cross-slide. This isn't the behaviour I want. Preferably I would want the flipview to start panning left and right. I think it's something to do with rails because when the user pans diagonally, they can pan the flipview.

Cross-slide even happens when selectionmode is set to None

How do I disable cross-slide, or how do I ensure that when a user pans left and right that the flipview pans and not the listview items?

1条回答
狗以群分
2楼-- · 2019-02-22 20:36

IsSwipeEnabled="False" on the ListView might do the trick. You might also edit the ListView.ItemContainerStyle/ListViewItem template to disable some visual state feedback transitions.

查看更多
登录 后发表回答