Back to Devexpress

ClosePageButtonShowMode Enum

wpf-devexpress-dot-xpf-dot-docking-3585aca2.md

latest2.6 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public enum ClosePageButtonShowMode
vb
Public Enum ClosePageButtonShowMode

Members

NameDescription
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:

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

DevExpress.Xpf.Docking Namespace