Hanes
Hanes

Reputation: 11

Drag and Drop in Windows Store Apps with touch

I'd like to drag an user-defined object from a ListView onto another control. Rights now it's working with the mouse, but not with touch. how does it work with touch?

Edit: the objects are in an observable collection, which is binded to the ListView

Thanks a lot guys!

Upvotes: 0

Views: 145

Answers (1)

Nate Diamond
Nate Diamond

Reputation: 5575

So, the tough part about touch is that you have to "detach" the object by pulling it orthogonal (perpendicular) to the scrolling axis. What this means is, if it's a vertically scrolling list, you have to pull the item to the left or right to start dragging it. It should then act as intended.

Upvotes: 0

Related Questions