Back to Devexpress

DockPanelCancelEventArgs Class

windowsforms-devexpress-dot-xtrabars-dot-docking-7f5d760a.md

latest2.6 KB
Original Source

DockPanelCancelEventArgs Class

Provides data for the DockManager.ClosingPanel event.

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public class DockPanelCancelEventArgs :
    DockPanelEventArgs
vb
Public Class DockPanelCancelEventArgs
    Inherits DockPanelEventArgs

DockPanelCancelEventArgs is the data class for the following events:

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.

Inheritance

Object EventArgs DockPanelEventArgs DockPanelCancelEventArgs DockingEventArgs

StartSizingEventArgs

SizingEventArgs

See Also

DockPanelCancelEventArgs Members

DevExpress.XtraBars.Docking Namespace