TabbedGroup.AddTabPage(LayoutGroup) Method

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v21.1.dll

Declaration

public LayoutGroup AddTabPage(
    LayoutGroup newItem
)

Parameters

Name Type Description
newItem LayoutGroup

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

Returns

Type Description
LayoutGroup

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

Remarks

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

See Also