Is there a way to set focus to a PanoramaItem in Silverlight for Windows Phone 7?
I've tried:
piResults.Focus();
Where piResults is the name of a PanoramaItem. I've also tried to give focus to one of the controls in the PanoramaItem, but that didn't work either.
If this isn't clear, I'm trying to do the following: If you press a button on one PanoramaItem, you go to another.
Have you tried setting the index of the PanoramaItem programatically, like -
This technique is useful during Tombstoning. Here is the XAML for the Panorama control that I tried -
The events handlers are -
Hope this helps. indyfromoz