TabbedGroup.InsertTabPage(LayoutGroup, LayoutGroup, InsertLocation) Method
Adds the page to the TabbedGroup.TabPages collection before or after the specified page.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v24.2.dll
Declaration
public void InsertTabPage(
LayoutGroup insertTo,
LayoutGroup insertGroup,
InsertLocation insertLocation
)
Parameters
Name | Type | Description |
---|---|---|
insertTo | LayoutGroup | A LayoutGroup object or descendant that represents the page before or after which the page will be inserted. |
insertGroup | LayoutGroup | A LayoutGroup object or descendant which represents the inserted page. |
insertLocation | InsertLocation | An InsertLocation enumeration value which specifies the position that the page will be inserted at. |
Remarks
Once the page has been inserted at the specified position, it’s automatically selected. If the specified page is already contained within the collection, the InsertTabPage method does nothing.
See Also