Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to move between a Pivot Control in Windows Phone 8 programmatically

I have a situation where i need to move to different pivots on a Pivot Page in Windows Phone 8 but i am unable to find a way to achieve that.

here is the screenshot: enter image description here

I want to switch to "Map" pivot when i tap on any LongListItem.

C#+XAML+WP8

like image 975
Suny Avatar asked Dec 06 '25 03:12

Suny


1 Answers

Actually is quite simple,just what you have to know is to which index you wanna move

 YourPivotControl.SelectedIndex = selectedIndex;
like image 85
Swift Sharp Avatar answered Dec 09 '25 06:12

Swift Sharp



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!