How to hide a control when an application loads?

9 Dec 20191 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,


- Indicates the docked control.


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