5
votes

using hold gesture on listbox. When the hold is fired the original source is a textblock not the listitem. How do I get the selected item from the gesture? sender is a listbox but the selecteditem/index/items contains nothing.

1

1 Answers

2
votes

The DataContext property of the TextBlock will have the item bound to that ListItem.