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

DockPanel.RootPanel Property

Gets the root panel of the current panel.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
public DockPanel RootPanel { get; }

#Property Value

Type Description
DockPanel

A DockPanel object representing the root panel of the current panel.

#Remarks

Dock panels can form nesting layouts: panels can own other panels which in turn can also have child panels and so on. A panel’s immediate parent panel is determined by the DockPanel.ParentPanel property. The RootPanel property allows you to get the panel’s root panel - the topmost parent panel. A root panel is not owned by any dock panel.

All existing root panels can be accessed via the following properties:

See Also