I have a problem with Pivot control. How can I insert xaml page with content to Pivot item? Is it even possible?
When I’m storing everything in one file it’s really hard to take control over my own application layout.
I want something like this:
- on main page should be pivot control with items.
- content of those items should be in separated xaml files (there is no dependency between pages)
Add correct namespace to Page:
and in Pivot:
And in view namespace you need to create a User Control. The link is about WPF but in WP7 there is the same system.
Also, you can create Custom Control from PivotItem.