Do mean you want to programatically to the second PivotItem within a Pivot control? If so, all you have to do is to set the Pivot's SelectedIndex property (in code) to whichever PivotItem in the Pivot control you want. Let me know if this isn't what you want.
an you explain a bit more what you want to acquire with you're code?
If you want to switch to the second PivotItem whenever the SelcetionChanged event is fired, just do as @Catholic suggested.
I used switch statement for dictionary app with autocompletebox.. When the users tap an item from acbox, the result Will display in pivot item2. I want to display pivot item2 to see results.
Then do a OnFocusLost EventHandler,
And put MyPivotName.SelectedIndex = 1; //Page 2.
This should be self explaining, anyhow it will switch to the second pivot page when the textbox losses focus.
(it is C# code)