2
votes

I am following this example to create Pivot Page for Windows phone application. http://msdn.microsoft.com/en-us/library/windows/apps/ff941103(v=vs.105).aspx

In this step,

Right-click the project in Solution Explorer, click Add, click Add, and click New Item. Select Windows Phone Pivot Page ....

I am using Visual Studio 2013. But I don't see "Windows Phone Pivot Page". Can you please tell me how if I need to install anything for creating Pivot Page?

1
Don't you have the universal apps ? It can be there. something like this: tctechcrunch2011.files.wordpress.com/2014/04/…sexta13
Yes, I have the universal apps. But that tutorial says 'Windows Phone Pivot Page'. And that tutorial is written pretty recently: 2014.n179911
yes, but you did the update to 8.1 and the windows phone was merged with the universal app! the ones that say silverlight are for windows phone 8 and the other for 8.1. Check there if you don't have pivot page!sexta13
Sorry , I don't understand where to check. I go to solution explorer and add 'Add'->'New Item'. I search thru all the items under 'Visual C#", there is still no pivot page per the tutorial.n179911
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ProjectTemplates\CSharp <-- check here if you have this: Windows Phone, Windows Phone 8.1 and Windows Store folders.sexta13

1 Answers

2
votes

If it's WP8.1 Project just Add -> New Item -> Blank Page then add in the basic template for a pivot inside the Grid

Regular WP8.1


<Pivot>
    <PivotItem Header="one">
        <TextBlock Text="Page one content"></TextBlock>
    </PivotItem>            
    <PivotItem Header="two">
        <TextBlock Text="Page two content"></TextBlock>
    </PivotItem>
</Pivot>

If it is a WP8.0 8.1 Silverlight App then you can use Add -> New Item -> Windows Phone Pivot Page

enter image description here

Which really just creates a Blank Page with the above code....