How to detect a Pivot item is selected in Windows Phone 7
问题 I am implementing the Pivot control in Windows Phone 7. I want to know which Pivot item is selected and active after the user does a swipe gesture. How to detect the swipe gesture event related to Pivot control? Which delegate method should I use ? 回答1: SelectionChanged is the event to wire up to for detecting Pivot item changes. As kP suggests, SelectedIndex/SelectedItem are the properties you can access to see which item is currently selected. Here's an example event handler to show the