I create a pivot control with 3 pivot item in my solution. And set SelectedIndex = 1 on load On SelectionChanged event of pivot control, i want: - when swipe to next pivot item: add a new pivot item and remove the first pivot item (index = 0) - when swipe to
pre pivot item: add a new pivot item to index = 0 and remove the last pivot item.
You can view this image:

I trying, but have error

Have you any idea? Thank very much.