Skip to main content

DockPanel.Show() Method

Displays and activates the panel.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public void Show()

Remarks

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Show() 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.

See Also