Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DockingEventArgs Class

Provides data for the DockManager.Docking event.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.2.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