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 |
---|---|
Layout |
A Layout |
#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.