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

TabbedGroup.RemoveTabPage(LayoutGroup) Method

Removes the specified tab page from the TabbedControlGroup.TabPages collection.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public bool RemoveTabPage(
    LayoutGroup item
)

#Parameters

Name Type Description
item LayoutGroup

A LayoutGroup object which represents the tab page to be removed from the collection.

#Returns

Type Description
Boolean

true if the tab page has been removed; otherwise, false.

#Remarks

The RemoveTabPage method removes the specified group from the TabbedControlGroup.TabPages collection. This does not dispose of the group or place it in the LayoutControl.HiddenItems list.

To dispose of a group and its child items and controls, use the LayoutControl.Remove method.

The RemoveTabPage method returns false if the TabbedControlGroup.TabPages collection does not contain the specified page.

See Also