Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

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

LayoutControl.SelectParentGroup() Method

In This Article

Selects the currently selected item’s parent.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public void SelectParentGroup()

#Remarks

Layout items can be selected in code via the BaseLayoutItem.Selected property and in Customization mode at runtime. Selected items are painted with a different color than regular items.

The SelectParentGroup method selects the group that displays the currently selected item. If multiple layout items are selected, the SelectParentGroup method selects the parent of the first item in the selected item list. Calling this method is similar to pressing the ESC key in Customization mode.

See Also