Thursday, 12 September 2013

Navigation to a Specific PivotItem

Navigation to a Specific PivotItem

How do I navigate to a specific Pivot-item of Pivot-Page when I tap an
Image on Main-Page ?
The XAML codes are following for Image on Main Page
<Image Source="Assets/5.jpg" Stretch="UniformToFill" Height="150"
Width="150" Margin="12,12,0,0"/>
And the code for Pivot-Page is following
<phone:PivotItem Header="fifth">
..........
..........
</phone:PivotItem>
I want to navigate to the fifth Pivot-Item when I tap the Image on Main
Page..

No comments:

Post a Comment