Skip to main content

TabbedGroup.RemoveTabPage(LayoutGroup) Method

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.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