问题
I have a list of panorama Items.
I want to know when the user has reached a particular panorama item and then take necessary action.
I tried using the eventhandler GotFocus on the panorama item but it doesn't get invoked when the user reaches the item
回答1:
The Panorama control has a SelectionChanged event which is fired when the user pans from one item to the next. You can then use the SelectedItem or SelectedIndex properties to find the item which is currently in view.
来源:https://stackoverflow.com/questions/5854147/is-it-possible-to-know-when-a-particular-panorama-item-is-displayed