DocumentGroup.ClosePageButtonShowMode Property

Gets or sets whether Close buttons are displayed in individual tab pages and the tab container's header. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

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


public ClosePageButtonShowMode ClosePageButtonShowMode { get; set; }
Public Property ClosePageButtonShowMode As ClosePageButtonShowMode

Property Value

Type Description

A ClosePageButtonShowMode value that specifies the display mode for Close buttons.


Close buttons can be displayed in the tab container's header and individual tab pages. Use the ClosePageButtonShowMode to specify the visibility of Close buttons. If this property is set to a value that allows a Close button to be displayed in the tab container's header or tab page, this button can still be hidden via the BaseLayoutItem.ShowCloseButton property.

Clicking a Close button hides the corresponding panel, moving it to the DockLayoutManager.ClosedPanels collection.

See Also