Skip to main content

ReadOnlyPanelCollection Class

Represents a collection of all the dock panels owned by the dock manager.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public class ReadOnlyPanelCollection :
    ReadOnlyCollectionBase,
    IEnumerable<DockPanel>,
    IEnumerable

The following members return ReadOnlyPanelCollection objects:

Remarks

The ReadOnlyPanelCollection class manages a collection of dock panels. This collection can be accessed via the dock manager’s DockManager.Panels property.

This collection is automatically updated by the dock manager when new dock panels are created. You can’t directly add or remove individual panels, since the ReadOnlyPanelCollection class implements read-only collection functionality. You can only access them or determine whether a collection contains a particular element.

For information on how to create and destroy dock panels, see the Creating and Destroying Dock Panels document.

Inheritance

Object
ReadOnlyCollectionBase
ReadOnlyPanelCollection
See Also