LayoutGroup.Parent Property
Gets or sets the group that owns the current group.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[Browsable(false)]
public override LayoutGroup Parent { get; set; }
#Property Value
Type | Description |
---|---|
Layout |
A Layout |
#Remarks
Layout groups (except for the root group) can be displayed within other groups. The Parent property returns the parent group. For the root group the null value is returned.
If the current group is a tab within a tabbed group (LayoutGroup.ParentTabbedGroup), the Parent method returns this tabbed group’s parent.
If a new value is assigned to the Parent property the layout group will be removed from its current group and added to the new group. If null is assigned to the Parent property the group is removed from its parent by calling the LayoutGroup.Remove method. See this topic for more information.
To get the LayoutControl that owns the layout item or group use the BaseLayoutItem.Owner property.