How to auto hide a control when an application loads

9 Dec 20191 minute to read

A control can be auto hidden on loading, by enabling the AutoHideOnLoad property through designer or by calling SetAutoHideOnLoad method programmatically.

Method Description
SetAutoHideOnLoad AutoHides the docked control when the application loads. The parameters are,


- Indicates the docked control.


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