Back to Devexpress

How to: Display all the hidden panels

windowsforms-5430-controls-and-libraries-docking-library-examples-how-to-display-all-the-hidden-panels.md

latest550 B
Original Source

How to: Display all the hidden panels

  • Nov 13, 2018

The following code shows how to display all the hidden panels.

csharp
using DevExpress.XtraBars.Docking;
// ...
while(dockManager1.HiddenPanels.Count > 0) {
   dockManager1.HiddenPanels[0].Visibility = DockVisibility.Visible;
}
vb
Imports DevExpress.XtraBars.Docking
' ...
While DockManager1.HiddenPanels.Count > 0
   DockManager1.HiddenPanels(0).Visibility = DockVisibility.Visible
End While