Back to Devexpress

TabFormControlBase.Pages Property

windowsforms-devexpress-dot-xtrabars-dot-tabformcontrolbase-576de40b.md

latest2.0 KB
Original Source

TabFormControlBase.Pages Property

Provides access to the collection of tabs.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public TabFormPageCollection Pages { get; }
vb
Public ReadOnly Property Pages As TabFormPageCollection

Property Value

TypeDescription
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

PageCollectionChanged

AddNewPage()

TabFormControlBase Class

TabFormControlBase Members

DevExpress.XtraBars Namespace