How to hide on load in WinForms Docking Control

18 Nov 20181 minute to read

This is done programmatically, by calling SetHiddenOnLoad method or through Designer, by setting HiddenOnLoad property to true.

Method Description
SetHiddenOnLoad Hides the docked control when the application loads. The parameters are,

Ctrl

- Indicates the docked control.

bhidden

- Value indicating `true` or `false`.
this.dockingManager1.SetHiddenOnLoad(this.listBox1, true);
Me.dockingManager1.SetHiddenOnLoad(Me.listBox1, True)