EndDockingEventArgs.DockedPanels Property
Gets the panel(s) docked to the target control.
Namespace: DevExpress.XtraBars.Docking
Assembly: DevExpress.XtraBars.v24.2.dll
Declaration
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.