Back to Devexpress

LayoutControl.Root Property

windowsforms-devexpress-dot-xtralayout-dot-layoutcontrol-15bdb2b2.md

latest1.6 KB
Original Source

LayoutControl.Root Property

Gets or sets the LayoutControl’s root group.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
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

LayoutControl Class

LayoutControl Members

DevExpress.XtraLayout Namespace