DockPanel.Hide() Method

Hides the panel.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v21.1.dll


public void Hide()


If a panel is docked to the form or floated, the Hide method hides the panel by setting its DockPanel.Visibility property to DockVisibility.Hidden. The hidden panel is removed from the screen and an end-user will not be able to access it until the panel is made visible.

Use the DockPanel.Show or DockPanel.ShowSliding methods to display a hidden panel. Alternatively, you can set the DockPanel.Visibility property to DockVisibility.Visible. To access all the hidden panels, use the DockManager.HiddenPanels collection.

If a panel is in auto-hide mode, the Hide method does nothing. To minimize an auto-hidden panel use the DockPanel.HideSliding method.

See Also