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.v20.1.dll


public bool ShowAddPageButton { get; set; }
Public Property ShowAddPageButton As Boolean

Property Value

Type Default Description


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


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


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