Windows Phone Developers

Monday, May 13, 2013

How to Track Page (Pivot Item) Navigation in Windows Phone using .NET (C#) / Windows Phone Pivot Control Events (C#/.NET)

Pivot_Change /SelectionChange  / Page Change Event in Windows Phone using .NET

One of the commonly used Windows Phone Application Type is Pivot. A Pivot application has a Pivot control and many Pivot Items in it.
This gives a good look and feel for content rich App

How to track Pivot Item Change

Each Pivot item contains some unique information, which makes it a necessary for tracking the change of Windows Phone Pivot Items

The XAML of the Pivot Control is shown below

 <controls:Pivot Title="GNANA BHOOMI - TIRUVANNAMALAI" SelectionChanged="Pivot_SelectionChanged>;

The Pivot_SelectionChanged event can be used to track the flip / change of Pivot Item to a new one by the user

private void Pivot_SelectionChanged(object sender, SelectionChangedEventArgs e)



SelectedIndex property provides the Index of the active Pivot Item
Digg Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Facebook Google Bookmark Yahoo
ma.gnolia squidoo newsvine live netscape tailrank mister-wong blogmarks slashdot spurl StumbleUpon

1 comment:

  1. The Kettic PivotGrid Control support of full OLAP, Pivoting, tabular and compact layouts, filtering and sorting, group, and more functionalities.