How can I help you?
How to hide a control when an application loads?
4 Feb 20251 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)