Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 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

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
LayoutGroup

A LayoutGroup or its descendant that owns the current group.

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

See Also