Greetings,
I'm currently having a huge problem with Pivot control (and as far I've seen, I'm not the only one with Pivot problems...)
Let's say I have a Pivot with 5 PivotItems in it, and I'm now viewing the first one (so, the Pivot SelectedIndex property is 0).
Then I press a button on the ApplicationBar that does Pivot Items.Clear() and the do 5 new PivotItems and add them with Items.Add() on the Pivot control -- no problem here
Now, let's start again with the Pivot with 5 items, only now I want to view the last one (so that Pivot SelectedIndex property is 4)
I now press the ApplicationBar button that does the Items.Clear() and start to add new Items -- ArgumentOutOfRangeException throws :(
Even if I do SelectedIndex = 0 BEFORE I do the Items.Clear(), I always get the exception!!!
Any thoughts over this one?
Best regards to all!