DockPanel.RootPanel Property
In This Article
Gets the root panel of the current panel.
Namespace: DevExpress.XtraBars.Docking
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Property Value
Type | Description |
---|---|
Dock |
A Dock |
#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:
- DockManager.RootPanels stores the visible floating and docked root panels which have their auto hide functionality disabled
- DockManager.AutoHideContainers provides access to the root panels which have their auto hide functionality enabled
- DockManager.HiddenPanels provides access to hidden root panels
See Also