Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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