gpt4 book ai didi

windows-phone-7 - WP7 工具包 : Gestures on ListBox - selected item

转载 作者:行者123 更新时间:2023-12-04 21:24:27 27 4
gpt4 key购买 nike

在列表框上使用按住手势。触发保留时,原始源是文本 block 而不是列表项。如何从手势中获取所选项目? sender 是一个列表框,但 selecteditem/index/items 不包含任何内容。

最佳答案

TextBlock 的 DataContext 属性将项绑定(bind)到该 ListItem。

关于windows-phone-7 - WP7 工具包 : Gestures on ListBox - selected item,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6065795/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com