TabbedControlGroup.AddTabPage(LayoutGroup) Method

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

public LayoutControlGroup AddTabPage(
    LayoutGroup newItem
)
Public Function AddTabPage(
    newItem As LayoutGroup
) As LayoutControlGroup

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