TabbedControlGroup.AddTabPage(LayoutGroup, String) Method
Appends the specified tab page with the specified text to the TabbedControlGroup.TabPages collection.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Parameters
Name | Type | Description |
---|---|---|
newItem | LayoutGroup | A LayoutGroup object or descendant that represents the 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. |
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
After the page has been created and added to the collection, it’s automatically selected.
See Also