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

ReadOnlyPanelCollection Class

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

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.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