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

LayoutControl.Root Property

Gets or sets the LayoutControl’s root group.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Layout")]
public LayoutControlGroup Root { get; set; }

#Property Value

Type Description
LayoutControlGroup

A LayoutControlGroup object which represents the root group.

#Remarks

Layout groups can form nesting layouts: groups can own other groups which in turn can also have child groups and so on. A layout group’s immediate parent group is determined by the LayoutGroup.Parent property.

The Root property allows the group’s root group - the topmost parent group, to be obtained. The root panel isn’t owned by any layout group.

Note

The Root property can be specified when the layout control is being initialized.

See Also