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

#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 on all pages. The Close button on the container's header is hidden.

InActiveTabPageHeader

A Close button is displayed on the active page. The Close button on the container's header is hidden.

InAllTabPagesAndTabControlHeader

Close buttons are displayed on all pages and on 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.

#Passed To

You can pass ClosePageButtonShowMode values to the DocumentGroup.ClosePageButtonShowMode property.

#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