TabbedGroup.AddTabPage(String) Method

Creates a new tab page with the specified text and appends it to the TabbedGroup.TabPages collection.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.2.dll

Declaration

public LayoutGroup AddTabPage(
    string text
)
Public Function AddTabPage(
    text As String
) As LayoutGroup

Parameters

Name Type Description
text String

A String value that specifies the text displayed within the page header. This value is assigned to the BaseLayoutItem.Text property.

Returns

Type Description
LayoutGroup

A LayoutGroup object or descendant that represents the new page.

Remarks

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

See Also