Skip to main content

ClosePageButtonShowMode Enum

Enumerates values that specify whether Close buttons are displayed in individual tab pages, the tab control’s header, or in both.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v24.1.dll

NuGet Package: DevExpress.Wpf.Docking

Declaration

public enum ClosePageButtonShowMode

Members

Name Description
Default

The same as the ClosePageButtonShowMode.InTabControlHeader option.

InTabControlHeader

The Close button is displayed in the tab container’s header.

InAllTabPageHeaders

Close buttons are displayed in all pages. The Close button in the container’s header is hidden.

InActiveTabPageHeader

A Close button is displayed in the active page. The Close button in the container’s header is hidden.

InAllTabPagesAndTabControlHeader

Close buttons are displayed in all pages and in the container’s header.

InActiveTabPageAndTabControlHeader

Close buttons are displayed in the tab container’s header, and within the active page.

NoWhere

Close buttons are not displayed.

Related API Members

The following properties accept/return ClosePageButtonShowMode values:

Remarks

The DocumentGroup objects support the tabbed interface. It provides the DocumentGroup.ClosePageButtonShowMode property, that controls the display of Close buttons in individual tab pages and the group’s header.

See Also