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
2387
How to hide a pane on a dock area?
posted

I have one DockAreaPane that is context sensitive, which pane is displayed will depending on the current context.  The other possible pane's that can be displayed in the DockAreaPane need to remain completely hidden when they are not active.

I see two options:

  1. Control the visibility of the pane's within the DockAreaPane based on the context
  2. Have only one pane on the DockAreaPane and swap out controls based on the context

I would prefer to do #1, can it be done in such a way that tabs are not visible to the user and it looks like there is only one pane in the DockAreaPane?  How?  Also how does one prevent other panes from other DockAreaPane's being docked on the one DockAreaPane?

If #2 is the only way, is there anything special I should know?  I am assuming not.

Sam

Parents
No Data
Reply
  • 840
    posted

    I have the same issue.  I have a context sensitive dockareapane.  For some reason, setting the Visible property to false doesn't actually make it disappear consistently. 

     

    What gives?

Children