Skip to main content

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

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