Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TabFormControlBase.AddNewPage() Method

In This Article

Creates a new TabFormPage and adds it to the TabFormControlBase.Pages collection.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public void AddNewPage()

#Remarks

The AddNewPage method creates a new TabFormPage, adds it to the TabFormControlBase.Pages collection, and makes it the currently selected page (see TabFormControlBase.SelectedPage).

If the TabFormControlBase.ShowAddPageButton property is set to true, the built-in Add button is displayed, which allows an end-user to add a new page at runtime.

To customize the TabFormPage being created, handle the TabFormControlBase.PageCreated event.

See Also