DockPanel.Hide() Method
Hides the panel.
Namespace: DevExpress.XtraBars.Docking
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Remarks
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.
#Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Hide() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.