Simply put, I am trying to set the selected tab for the DockingManager after creating a new DockingManager (named newPage in my example) and adding it to the main DockingManager's (named MainDockManager in my example) children. I have tried calling
MainDockManager.Children[MainDockManager.Children.Count - 1].Focus()
and
DockingManager.SeletTab(newPage)
and
newPage.Focus().
Non of those seem too work.
How do I set the selected tab?