
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)
{
MessageBox.Show(((Pivot)sender).SelectedIndex.ToString());
}
SelectedIndex property provides the Index of the active Pivot Item






















No comments:
Post a Comment