How Do I Set NDockingPanel to AutoHide Nowhere?


https://www.nevron.com/Forum/Topic8191.aspx
Print Topic | Close Window

By Payton Byrd - 11 Years Ago
I've tried doing everything I can think of to cause a docking panel to be "pinned" programmatically after it is auto hidden (either programmatically or via the UI). I've tried this:

Panel.AutoHide(AutoHideLocation.Nowhere);

Panel.AutoHide is still the location of the panel.

I've tried:

Panel.TabInfo.AutoHideLocation = AutoHideLocation.Nowhere;

Panel.AutoHide is still the location of the panel.

I've tried:

Panel.Display();

When I do this the panel displays, but it's still auto hiding. I need it to come back in it's original pinned location.

Thanks!
By Nevron Support - 11 Years Ago
Hello Payton,

You can try the following:

if (dockingPanel.DockState == DockState.AutoHide)
         {
            dockingPanel.Redock();
         }