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.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.2.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