Bar

TabFormControlBase.Pages Property

Provides access to the collection of tabs.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

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

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