A newer version of this page is available. Switch to the current version.

DockPanel.ClosingPanel Event

Occurs before the current panel is closed.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v19.1.dll


public event DockPanelCancelEventHandler ClosingPanel

Event Data

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

Property Description
Cancel Gets or sets whether the operation performed on the processed panel should be cancelled.
Panel Gets the processed dock panel. Inherited from DockPanelEventArgs.


When any panel is closing the panel’s ClosingPanel and dock manager’s DockManager.ClosingPanel events are fired. Either of these events can be handled to prevent a specific panel from being closed or to perform specific actions on the panel before it is closed.

See the DockManager.ClosingPanel topic description for more information.

See Also