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 |
---|---|
Read |
A Read |
#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.