There is no DoubleClick event for ListView control in .NET CF 3.5

冷暖自知 提交于 2019-12-14 02:24:16

问题


In my project, tree is a list of customers displayed in an ListView control, When user double clicks (or taps) on an item I should show the details of that customer,

But there is no double click (or click event, mouse up and down events etc.) event in .NET CF 3.5 ListView control (we only have ItemActive and SelectedIndexChanged events)

Is there anyone has figure out this problem?


回答1:


I ended up using popup menu with functions that I need (like edit/delete/create new).




回答2:


ItemActivate event is exactly what you need to replace the double click




回答3:


If i remember correctly WM doesn't support double tap out of the box, because it's too tricky to have users do reliably, so thats why there is tap-and-hold which can be used to show a context menu after you have held the tap for a certain short period of time.



来源:https://stackoverflow.com/questions/1952244/there-is-no-doubleclick-event-for-listview-control-in-net-cf-3-5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!