TabbedControlGroup.AddTabPage(String) Method

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

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

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
LayoutControlGroup

A LayoutControlGroup object that represents the new page.

Remarks

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

See Also