LayoutControl.Root Property

Gets or sets the LayoutControl's root group.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

[DXCategory("Layout")]
public LayoutControlGroup Root { get; set; }
<DXCategory("Layout")>
Public Property Root As LayoutControlGroup

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.

Implements

DevExpress.XtraLayout.ILayoutControlOwner.Root
See Also