WidgetView.RootContainer Property

Returns the root docking container for this WidgetView.

Namespace: DevExpress.XtraBars.Docking2010.Views.Widget

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[Browsable(false)]
public WidgetDockingContainer RootContainer { get; }
<Browsable(False)>
Public ReadOnly Property RootContainer As WidgetDockingContainer

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