Back to Devexpress

TabbedControlGroup.AddTabPage(LayoutGroup) Method

windowsforms-devexpress-dot-xtralayout-dot-tabbedcontrolgroup-dot-addtabpage-x28-devexpress-dot-xtralayout-dot-layoutgroup-x29.md

latest2.2 KB
Original Source

TabbedControlGroup.AddTabPage(LayoutGroup) Method

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

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Parameters

NameTypeDescription
newItemLayoutGroup

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

|

Returns

TypeDescription
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

InsertTabPage

MoveTabPage(LayoutItemDragController)

RemoveTabPage(LayoutGroup)

TabbedControlGroup Class

TabbedControlGroup Members

DevExpress.XtraLayout Namespace