How to hide a control when an application loads?

9 Dec 2019 / 1 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)