Skip to main content
Bar

TabFormControlBase.Pages Property

Provides access to the collection of tabs.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public TabFormPageCollection Pages { get; }

Property Value

Type Description
DevExpress.XtraBars.TabFormPageCollection

A DevExpress.XtraBars.TabFormPageCollection object that represents the collection of TabFormPage objects.

Remarks

For the TabFormPage objects to be displayed in the TabForm, they should be added to the Pages collection. The TabFormControlBase.PageCollectionChanged event fires when the collection has been changed.

To add a new page in code, you can call the TabFormControlBase.AddNewPage method. At run time, end-users can click the built-in Add button (see TabFormControlBase.ShowAddPageButton).

See Also