Back to Devexpress

DockManager.Collapsing Event

windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockmanager-76883352.md

latest3.2 KB
Original Source

DockManager.Collapsing Event

Occurs when any auto-hide DockPanel within the current DockManager is about to hide.

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Docking")]
public event DockPanelEventHandler Collapsing
vb
<DXCategory("Docking")>
Public Event Collapsing As DockPanelEventHandler

Event Data

The Collapsing event's data class is DockPanelEventArgs. The following properties provide information specific to this event:

PropertyDescription
PanelGets the processed dock panel.

Remarks

Use the BaseDockOptions.ShowAutoHideButton property to specify whether an end-user can enable/disable auto-hiding a panel at runtime. When an auto-hide DockPanel is about to be displayed, the DockPanel.Expanding event occurs. Afterwards, when the panel is shown, the DockPanel.Expanded event is raised. The same applies for panel hiding. The DockPanel.Collapsing and DockPanel.Collapsed events are raised in this case.

The Collapsing event is the global version of the DockPanel.Collapsing event and occurs when any auto-hide DockManager panel within the DockManager is about to hide.

See Also

DockManager.Collapsed

DockManager.Expanding

DockManager.Expanded

Collapsing

DockPanel.Collapsed

DockPanel.Expanding

DockPanel.Expanded

DockManager Class

DockManager Members

DevExpress.XtraBars.Docking Namespace