Back to Devexpress

DockPanel.Expanded Event

windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockpanel-289f08c8.md

latest3.0 KB
Original Source

DockPanel.Expanded Event

Occurs when the current auto-hide DockPanel is completely displayed.

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public event DockPanelEventHandler Expanded
vb
Public Event Expanded As DockPanelEventHandler

Event Data

The Expanded 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 Expanded event is raised. The DockPanel.Collapsing and DockPanel.Collapsed events are opposite events, fired when hiding an auto-hide panel.

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

See Also

DockPanel.Collapsing

DockPanel.Collapsed

DockPanel.Expanding

DockManager.Collapsing

DockManager.Collapsed

DockManager.Expanding

Expanded

DockPanel Class

DockPanel Members

DevExpress.XtraBars.Docking Namespace