Skip to main content

TabbedGroup.AddTabPage(LayoutGroup, String, Boolean) Method

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public LayoutGroup AddTabPage(
    LayoutGroup newItem,
    string text,
    bool selectTabPage
)

Parameters

Name Type Description
newItem LayoutGroup

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

text String

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

selectTabPage Boolean

true if the tab page is selected; otherwise, false.

Returns

Type Description
LayoutGroup

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

See Also