Hides the current auto-hidden dock panel using a sliding animation effect.
The auto hide functionality needs to be enabled for the HideSliding method to have an effect. Otherwise, the HideSliding method does nothing.
The DockPanel.HideImmediately method hides an auto-hidden panel without a sliding animation.
In order to display an auto-hidden DockPanel, use the DockPanel.Show or DockPanel.ShowSliding method. The first one displays a panel immediately, while the second uses a sliding animation effect to display a panel.