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(DockPanel, Control, Point, DockingStyle, Boolean, Int32) Constructor

In This Article

Initializes a new instance of the DockingEventArgs class.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public DockingEventArgs(
    DockPanel panel,
    Control target,
    Point dragPoint,
    DockingStyle dock,
    bool targetTabbed,
    int index
)

#Parameters

Name Type Description
panel DockPanel

A DockPanel object which represents the processed dock panel. This value is assigned to the DockPanelEventArgs.Panel property.

target Control

A Control descendant which represents the target control the panel is being docked to. This value is assigned to the DockingEventArgs.TargetForm or DockingEventArgs.TargetPanel properties.

dragPoint Point

A Point structure which specifies the current position of the mouse pointer, in screen coordinates. This value is assigned to the DockingEventArgs.DragPoint property.

dock DockingStyle

A DockingStyle enumeration value which specifies how the dock panel would be docked to the target control. This value is assigned to the DockingEventArgs.Dock property.

targetTabbed Boolean

true if the dock panel will represent a tab within a tab container if dropped; otherwise, false. This value is assigned to the DockingEventArgs.TargetTabbed property.

index Int32

A zero-based integer specifying the position of the current panel within the owning collection. This value is assigned to the DockingEventArgs.Index property.

See Also