It seems there is no Tap Event handler for the listbox in windows phone 7.0 as there is in 7.1
I found the SelectionChanged event however this event causes problem. So is there different event than Tap in 7.0??
private void flightlist_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
PhoneApplicationService.Current.State["Flight"] = flightlist.SelectedItem;
NavigationService.Navigate(new Uri("/FlightDetail", UriKind.Relative));
}
The Silverlight Toolkit have a GestureListener that allows you to handle Tap, DoubleTap, and many more events.
It can be attached any element. But regardless, using a custom tap handler, for what the SelectionChanged event is for, is a stupid idea. You should clarify why it “causes problems” for you.
Update
Modify your code to this: