Monday, October 1, 2012

Lock single pivot page

Lock single pivot page

I have a pivot control with two pivot pages. I'd like to lock the first one on startup, so that the second page only appears on a special action.

As far as I know, only the pivot control itself is lockable, not each seperate page.

I wrote the XAML like this:

<toolkit:LockablePivot x:Name="Latinum" Title="pivotControl">             <controls:PivotItem x:Name="PivotStart" Header="Start"                       Margin="24,28,24,27">                 <Grid>                  </Grid>             </controls:PivotItem>             <controls:PivotItem x:Name="PivotLauncher" Header="Launcher">                 <Grid/>             </controls:PivotItem>         </toolkit:LockablePivot> 

and PivotStart should be locked at startup. But only pivotControl has the isLocked property.

Answers & Comments...




No comments:

Post a Comment

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