Back to Devexpress

DockPanel.RootPanel Property

windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockpanel-64d093a7.md

latest2.4 KB
Original Source

DockPanel.RootPanel Property

Gets the root panel of the current panel.

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
public DockPanel RootPanel { get; }
vb
<Browsable(False)>
Public ReadOnly Property RootPanel As DockPanel

Property Value

TypeDescription
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

AutoHideContainers

HiddenPanels

RootPanels

DockPanel Class

DockPanel Members

DevExpress.XtraBars.Docking Namespace