Home Forums WinForms controls Other WinForms controls Problems docking to bottom of mdi form? Reply To: Problems docking to bottom of mdi form?

User (Old forums)
Member
Post count: 23064

The AutoHide code line must be done outside of the SuspendLayout block, because of a bug in the component which make the ToolWindow always dock to left when this is done within the SuspendLayout block.

m_manager.SuspendLayout();

…..

m_manager.ResumeLayout();

m_manager.ToolWindows[ “testViewer” ].State = ToolWindowState.AutoHide;

Imported from legacy forums. Posted by André (had 216 views)