ReadOnlyPanelCollection Class

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

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public class ReadOnlyPanelCollection :
    ReadOnlyCollectionBase,
    IEnumerable<DockPanel>,
    IEnumerable
Public Class ReadOnlyPanelCollection
    Inherits ReadOnlyCollectionBase
    Implements IEnumerable(Of DockPanel),
               IEnumerable

Related API Members

The following members accept/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