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

WidgetView.RootContainer Property

Returns the root docking container for this WidgetView.

Namespace: DevExpress.XtraBars.Docking2010.Views.Widget

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
public WidgetDockingContainer RootContainer { get; }

#Property Value

Type Description
DevExpress.XtraBars.Docking2010.Views.Widget.WidgetDockingContainer

A DevExpress.XtraBars.Docking2010.Views.Widget.WidgetDockingContainer object that is the root docking container for this WidgetView.

#Remarks

When in Free Layout Mode, a Widget View places its documents inside vertically or horizontally oriented docking containers. Docking containers can host individual widgets or other containers. Each time an end-user re-arranges widgets at runtime (or the Document.DockTo method is called from code), a View automatically creates required containers and combines them in accordance to this new layout. At the same time, a View automatically destroys old docking containers that are not needed. The RootContainer property returns the root container, which is never destroyed.

See the Free Layout Mode article to learn more about docking containers and their settings.

See Also