wpf-devexpress-dot-xpf-dot-docking-3585aca2.md
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.v25.2.dll
NuGet Package : DevExpress.Wpf.Docking
public enum ClosePageButtonShowMode
Public Enum ClosePageButtonShowMode
| 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.
|
The following properties accept/return ClosePageButtonShowMode values:
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