I'm writing a Windows Phone 7 app with a ListBox. When an item in the ListBox is "clicked" or "hit" with a finger, what is the right event to trap that?
I have tried "SelectedIndexChanged" but that seems to fire on GoBack() when the app is TombStoned and an index of 0 is passed in (which seems odd).
I'm currently using MouseUp which seems to do the trick. But I'm not sure if that's correct.
Note: I discovered the reason SelectionChanged was firing when clicking back. When the Constructor for my Page was firing, and the ItemSouce for my ListBox was being set (databound) that would select the first item in the list and fire the SelectionChanved event. Since this was not initiated by user action, I solved this by simply creating an IsLoaded boolean and setting it to true after setting the ItemSource in the constructor and then checking for that in the event.