Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
550
Progammatically navigating tabs in DockManager
posted

I am creating tabs dynamically based on user input.  When the user inputs a tab that is already created I want to navigate(select) to the already created instance of the tab.  Any ideas?

Thanks for the help.

Parents
No Data
Reply
  • 54937
    Verified Answer
    Offline posted

    Well once you have the ContentPane you can just call its Activate method. If the question is how to find the pane then you could either maintain your own dictionary as you create the panes or you could iterate the ContentPanes (using the GetPanes method) and try to locate the pane. The former would likely be more effecient but then you need to maintain it as panes are closed, etc.

Children
No Data