TabPlacement issue when switching from tabbed to standard

Docking/MDI for WPF Forum

Posted 14 years ago by Kenneth Ostraco
Version: 9.2.0515
Avatar
I have nested docksites. The outer docksite's tabplacement is set to bottom and the inner is set to top. If I call SwitchToStandardMdi() and then SwitchToTabbedMdi() the tabplacement is lost and seems to get set to whatever the other docksite is. I've tried setting the tabplacement programatically before/after the SwitchToTabbedMdi() call and no luck. Any ideas how to fix this?

Thanks,
Brian

Comments (1)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Brian,

Calling the Switch methods erase whatever MDI host was in place before. It doesn't persist any old settings etc. I did a test here and set the TabPlacement property on the new TabbedMdiHost that was a direct child (via Content prop) of the Workspace after SwitchToTabbedMdi and that worked fine.

My guess is that you were retaining a ref to your original TabbedMdiHost, which is no longer in use after you switch, and thus nothing happened.


Actipro Software Support

The latest build of this product (v24.1.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.