Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

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:

Object Type Path to HidePanelsImmediately
DockManager
.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