[DXCategory("Docking")] public event DockPanelEventHandler Collapsing
<DXCategory("Docking")> Public Event Collapsing As DockPanelEventHandler
The Collapsing event's data class is DockPanelEventArgs. The following properties provide information specific to this event:
|Panel||Gets the processed dock panel.|
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.