DockPanel.Show() Method

Displays and activates the panel.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v21.1.dll


public void Show()


This method displays and activates the current panel.

If the panel is hidden its DockPanel.Visibility property will be set to DockVisibility.Visible to make it visible. If the panel is auto-hidden it will be immediately displayed without disabling the panel’s auto-hide functionality. The displayed panel is then activated. Use the DockPanel.ShowSliding method to display an auto-hidden panel with a sliding animation effect.

If the panel is a child of a split container it will be maximized. If it’s a child of a tab container the Show method will be used to activate it.

To hide a panel, use the DockPanel.Hide method.

The currently active panel can be obtained via the DockManager.ActivePanel property.

See Also