Skip to main content

DockingEventArgs Class

Provides data for the DockManager.Docking event.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public class DockingEventArgs :
    DockPanelCancelEventArgs

Remarks

The DockManager.Docking event is fired repeatedly while an end-user is docking a panel. The DockingEventArgs class provides properties that identify the target control that the panel will be docked to (if it is dragged to the control it’s currently over), how the panel will be docked, whether the panel will represent a tab within the tab container if dropped ,etc.

The current docking operation can also be canceled by setting the DockPanelCancelEventArgs.Cancel property to true. This property is inherited from the DockPanelCancelEventArgs class.

DockingEventArgs objects are automatically created, initialized and passed to appropriate event handlers.

See Also