Don’t ever try too hard to set a LinkBar’s selectedIndex. It is impossible unless you do following:

  • Customised the LinkBar control yourself
  • Use it with a ViewStack and set the selectedIndex with the ViewStack(but whatever for?!)
Bug Report here >>