Skip to main content
A newer version of this page is available. .

DockingOptions.HidePanelsImmediately Property

Gets or sets whether a panel hides immediately (without animation) when the user unpins the panel and whether a panel hides immediately when it loses the focus.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

[DefaultValue(HidePanelsImmediatelyMode.Never)]
[XtraSerializableProperty(XtraSerializationFlags.SuppressDefaultValue)]
public HidePanelsImmediatelyMode HidePanelsImmediately { get; set; }

Property Value

Type Default Description
DevExpress.XtraBars.Docking.Helpers.HidePanelsImmediatelyMode **Never**

A value that specifies whether a panel hides immediately (without animation) when the user unpins the panel and whether a panel hides immediately when it loses focus.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to HidePanelsImmediately
WinForms Controls SnapDockManager
.DockingOptions.HidePanelsImmediately
DockManager
.DockingOptions.HidePanelsImmediately
Reporting XRDesignDockManager
.DockingOptions.HidePanelsImmediately

Remarks

Use the HidePanelsImmediately property to set flags that specify whether panels hide immediately (without animation):

  • Never — panels always hide with an animation effect.
  • OnAutoHide — a panel hides without animation effect when the user unpins the panel. To unpin the panel, the user can click the pin Hide_button button. In code, you can set the the panel’s Visibility property to AutoHide.
  • OnLeave — a panel hides without animation effect when it loses focus.
  • Always — panels always hide without animation effect.
See Also