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).
精彩评论