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
2320
Change Selected Tab from another Tab
posted

I have a XamDockManager which has a fixed TabGroupPane in the DocumentContentHost.

Within one of the tabs (ie. the content panes of the TabGroupPane), there's a button which, when clicked, changes the selected tab of the parent TabGroupPane.

This is all well and good but, unfortunately, once the Selected Tab gets changed, the TabGroupPane flips back to the tab with the button in it.

I assume this is to do with some internal layout changed event being fired in the XamDockManager or the TabGroupPane after the tab is changed.

Does anyone know if there are possible workarounds for this?

 

I suppose I could use a XamTabControl in place of the DocumentContentHost (which doesn't have the flip back problem) but then I lose all the functionality of the DockManager/TabGroupPane which is not desirable.

Thanks in advance.