开发者

WP7 toolkit: Gestures on ListBox - selected item

using hol开发者_JAVA百科d 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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜