locked
Is there a way to detect what page you're on in a pivot app through C#? RRS feed

  • Question

  • I have an app that uses several pages in a pivot app and each page is supposed to do something different, controlled by an application bar. Is there a way to detect what page the user is on in a pivot app so that whatever action is performed from the application bar only affects the content on that single page in the pivot app?

    Thursday, October 3, 2013 7:34 PM

Answers

  • your Pivot control has a selectedIndex Property which will help you :)

    yourPivotControl.SelectedIndex = selectedPivotItemIndex; 

    • Marked as answer by General Heed Wednesday, October 9, 2013 4:32 AM
    Thursday, October 3, 2013 7:38 PM