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

EndDockingEventArgs.DockedPanels Property

Gets the panel(s) docked to the target control.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public ReadOnlyPanelCollection DockedPanels { get; }

#Property Value

Type Description
ReadOnlyPanelCollection

A ReadOnlyPanelCollection object representing the collection of panels docked to the target control. An empty collection if the docking operation has been canceled by an end-user.

#Remarks

The DockedPanels property contains the dock panels that were docked to the target control as a result of a docking operation.

There can be situations when a container panel is automatically destroyed after the docking operation is complete. For example, a floating split container is automatically destroyed after it has been docked to a form or another panel. In this case, the DockedPanels property contains the child panels of the destroyed container.

If the docked panel is a regular panel which has no child panels or if the container panel was not destroyed after the docking operation, the DockedPanels collection contains only one element which represents the docked panel itself.

See Also