Back to Devexpress

DockPanel.Collapsing Event

windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockpanel-867af560.md

latest2.9 KB
Original Source

DockPanel.Collapsing Event

Occurs when the current auto-hidden DockPanel is about to hide.

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public event DockPanelEventHandler Collapsing
vb
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. The Collapsing occurs at the very beginning of panel hiding. After it is completely hidden, the DockPanel.Collapsed event occurs. The DockPanel.Expanding and DockPanel.Expanded event are opposite events, fired when a hidden auto-hide panel is shown.

The DockManager‘s DockManager.Collapsing event is the global version of the Collapsing event, and occurs when any DockPanel is about to hide.

See Also

DockPanel.Collapsed

DockPanel.Expanding

DockPanel.Expanded

Collapsing

DockManager.Collapsed

DockManager.Expanding

DockManager.Expanded

DockPanel Class

DockPanel Members

DevExpress.XtraBars.Docking Namespace