Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

How to: Access auto-hidden panels

The following code shows how to disable the auto-hide functionality for the panels which are auto-hidden to the form’s left edge. These panels are accessed via the corresponding AutoHideContainer object.

using DevExpress.XtraBars.Docking;
// ...
AutoHideContainer ahContainer = dockManager1.AutoHideContainers[DockingStyle.Left];
if(ahContainer != null) {
   while(ahContainer.Count > 0) {
      DockPanel dp1 = ahContainer[ahContainer.Count - 1];
      dp1.Visibility = DockVisibility.Visible;
   }               
}