10115

how to navigate the particular pivot item in windows

Question:

In my windows application, I am using 4 pivot items for example cash,change password, items,profile. whenever i click the any pivot item the page navigate to profile pivot item only. But i need to go to particular pivot item only. Please any one help me out.

code:

private void changepassword_Click(object sender, RoutedEventArgs e) { //Frame.Navigate(typeof(profile), uuid); Frame.Navigate(typeof(profile)); }

Answer1:

Navigate with pivot tab index as parameter

Frame.Navigate(typeof(profile), 1)

In your profile page:

protected override void OnNavigatedTo(NavigationEventArgs e) { MainPivot.SelectedIndex = (int) e.Parameter; }

Recommend

  • Array issue #N/A
  • Oracle sql query: pivot table with dynamicly filled for in (advanced)
  • SQL postgres aggregation/pivot of data by weeks with totals
  • Excel VBA: Output Distinct Values and Subtotals
  • scipy LU factorization permutation matrix
  • Netezza aggregation issue (pivot)
  • Finding the kth smallest item in an array using quicksort => expected running time?
  • Rows to Columns using Sql Query
  • Retrieve List of Cells in Excel Where Column Equals Something
  • SQL Server PIVOT Function
  • how to pivot complex dataframe
  • Where to get the .java files of a netbeans project?
  • How to import Navit into Eclipse and use it in own android project
  • Build Matrix of Comparisons in SQl Server
  • Issue with routerLink directive
  • Application level floating views with navigation in Android
  • Can Jackson SerializationFeature be overridden per field or class?
  • htaccess rewriting URLs with multiple forward slashes
  • Display Images one by one with next and previous functionality
  • jquery mobile loadPage not working
  • Web-crawler for facebook in python
  • AT Commands to Send SMS not working in Windows 8.1
  • Data Validation Drop Down Box Arrow Disappearing
  • A cron job substitute?
  • Rails 2: use form_for to build a form covering multiple objects of the same class
  • NSLayoutConstraint that would pin a view to the bottom edge of a superview
  • Acquiring multiple attributes from .xml file in c#
  • How do you join a server to an Active Directory (domain)?
  • How do I configure my settings file to work with unit tests?
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Getting Messege Twice Using IMvxMessenger
  • How can I remove ASP.NET Designer.cs files?
  • Is it possible to post an object from jquery to bottle.py?
  • EntityFramework adding new object to nested object collection
  • Checking variable from a different class in C#
  • How can i traverse a binary tree from right to left in java?
  • failed to connect to specific WiFi in android programmatically
  • java string with new operator and a literal
  • How to push additional view controllers onto NavigationController but keep the TabBar?
  • How can I use threading to 'tick' a timer to be accessed by other threads?