Monday, December 10, 2012

Stop sliding from one side in WP7 Pivot

Stop sliding from one side in WP7 Pivot

I'm using pivot in my application to show a group of images , i want to stop left or right sliding in the pivot to the user can not navigate back .How can i do that?

     <controls:Pivot Title="TITLE"   Margin="0,0,0,60">          <controls:PivotItem >             <Grid>                  <Image Source="/src" />             </Grid>         </controls:PivotItem>          <controls:PivotItem>             <Grid>                 <Image Source="/src"  />             </Grid>         </controls:PivotItem>         <controls:PivotItem >             <Grid>                 <Image Source="/src" />             </Grid>         </controls:PivotItem>         <controls:PivotItem >             <Grid>                 <Image Source="/src" />             </Grid>         </controls:PivotItem>        </controls:Pivot> 

Answers & Comments...

Answer: 1

If you want a pivot without navigation purposes, you can just create a page or usercontrol to fit your needs. If you only want to prevent manual control of the pivot, see this question: Prevent manual control of pivot control movement

by : Mixxhttp://stackoverflow.com/users/1541438




No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog