Skip to main content
A newer version of this page is available. .

DockPanelCancelEventArgs Class

Provides data for the DockManager.ClosingPanel event.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v18.1.dll

Declaration

public class DockPanelCancelEventArgs :
    DockPanelEventArgs

Remarks

The DockManager.ClosingPanel event is fired when a panel is about to be closed. The DockPanelCancelEventArgs class provides the DockPanelCancelEventArgs.Cancel property which specifies whether the dock panel must be closed. It can be used to prevent a dock panel from being closed.

DockPanelCancelEventArgs objects are automatically created and passed to DockManager.ClosingPanel event handlers.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DockPanelCancelEventArgs class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also