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.Dock Property

Gets a value indicating how the dock panel would be docked to the targeted control.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public DockingStyle Dock { get; }

#Property Value

Type Description
DockingStyle

A DockingStyle enumeration value specifying how the dock panel would be docked to the target control.

Available values:

Name Description
Float

The dock panel floats.

Top

The dock panel’s top edge is docked to the top of its containing control.

Bottom

The dock panel’s bottom edge is docked to the bottom of its containing control.

Left

The dock panel’s left edge is docked to the left side of its containing control.

Right

The dock panel’s right edge is docked to the right side of its containing control.

Fill

The dock panel occupies the center of another panel (split or tab container) or form/user control.

#Remarks

Use the Dock property to determine how the dock panel would be aligned within the currently targeted control if it’s dropped on it. The available dock styles are listed in the DockingStyle enumeration.

See Also