Have you tried setting the index of the PanoramaItem programatically, like -
piResults.DefaultItem = piResults.Items[_panorama_item_index_];
This technique is useful during Tombstoning. Here is the XAML for the Panorama control that I tried -
<!--Panorama item one-->
<controls:PanoramaItem Header="first item">
<!--Double line list with text wrapping-->
<Button x:Name="FirstButton" Content="Go to second item"
Click="FirstButton_Click"/>
</controls:PanoramaItem>
<!--Panorama item two-->
<!--Use 'Orientation="Horizontal"' to enable a panel that lays out horizontally-->
<controls:PanoramaItem Header="second item">
<!--Double line list with image placeholder and text wrapping-->
<Button x:Name="SecondButton" Content="Go to first item"
Click="SecondButton_Click"/>
</controls:PanoramaItem>
The events handlers are -
private void SecondButton_Click(object sender, RoutedEventArgs e)
{
piResults.DefaultItem = piResults.Items[0];
}
private void FirstButton_Click(object sender, RoutedEventArgs e)
{
piResults.DefaultItem = piResults.Items[1];
}
Hope this helps.
indyfromoz