TabFormControlBase.ShowTabCloseButtons Property

Gets or sets the visibility of close buttons in tabs.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll


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

Property Value

Type Default Description


true, if the close buttons are visible in tabs; otherwise, false.


The TabFormPage can display the Close button. Clicking it, an end-user can hide the page from the TabForm. See the figure below.


The ShowTabCloseButtons property specifies the visibility of the Close button for all TabFormPage objects of the TabForm. You can override this setting for a particular page with the TabFormPage.ShowCloseButton property.

After the Close button is clicked, the TabFormControlBase.PageClosing event fires, allowing you to cancel the action if necessary.

See Also