如何协调gridview中单击的项目以显示弹出窗口? [英] How can i coordianate of the clicked item in a gridview to show a popup over it?
问题描述
我将SelectionMode设置为None,因此我必须使用Click事件。我知道clickedItem,但这对我没有帮助。我需要点击点的确切坐标,以便我可以在该位置显示弹出命令菜单。
检查出来:
http: //msdn.microsoft.com/en-us/library/windows/apps/windows.ui.core.corewindow.pointerpressed.aspx
http://msdn.microsoft.com/en-us/库/窗/应用/ windows.ui.xaml.input.pointereventargs.aspx
I have SelectionMode set to None so i have to use Click event. I know the clickedItem but that doesn' help me. I need the exact coordinate of the clicked point so i can Show a popup command menu over that location.
Check this out:
http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.core.corewindow.pointerpressed.aspx
http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.input.pointereventargs.aspx
这篇关于如何协调gridview中单击的项目以显示弹出窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!