The event handler receives an argument of type DockPanelEventArgs containing data related to this event.
The following
DockPanelEventArgs properties provide information specific to this event.
Property |
Description |
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. The Collapsing occurs at the very beginning of hiding a panel. After it is completely hidden, the Collapsed event occurs. The Expanding and Expanded event are opposite events, fired when a hidden auto-hide panel is shown.
The DockManager's DockManager.Collapsed event is the global version of the Collapsed event, and occurs when any DockPanel is about to hide.