Skip to main content

TabbedControlGroup.AddTabPage(LayoutGroup) Method

Appends the specified tab page to the TabbedControlGroup.TabPages collection.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

Declaration

public LayoutControlGroup AddTabPage(
    LayoutGroup newItem
)

Parameters

Name Type Description
newItem LayoutGroup

A LayoutGroup object or descendant that represents the new tab page.

Returns

Type Description
LayoutControlGroup

A LayoutControlGroup object that represents the new page. null (Nothing in Visual Basic) if the collection contains the specified tab page.

Remarks

Once the page has been created and added to the collection, it’s automatically selected.

See Also