开发者

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

开发者 https://www.devze.com 2022-12-14 21:42 出处:网络
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,

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 eve开发者_Python百科nt, 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?


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


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.


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

0

精彩评论

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