Skip to main content
Bar

TabFormControlBase.ShowAddPageButton Property

Gets or sets if the Add Page (+) button that allows a user to add a new tab is visible.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(true)]
public bool ShowAddPageButton { get; set; }

Property Value

Type Default Description
Boolean true

true if the built-in Add Page button is visible; otherwise, false.

Remarks

The ShowAddPageButton property specifies whether the built-in Add Page (+) button is visible. This button allows a user to add a new tab.

TabFormControlBase_ShowAddPageButton

You can call the AddNewPage() method to add a new page to the form in code. When a new page is created, the PageCreated event fires. Handle this event to initialize the newly created page and its content (specify the tab header, add controls, etc.).

See Also