问题
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