A newer version of this page is available. Switch to the current version.

BaseLayoutItem.ShowCloseButton Property

Allows you to hide the Close ('x') button for the current item. This property is only supported for LayoutPanel, DocumentPanel and DocumentGroup objects. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

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


public bool ShowCloseButton { get; set; }
Public Property ShowCloseButton As Boolean

Property Value

Type Description

true, if the Close ('x') button is visible; otherwise, false.


A close ('x') button is displayed in the following cases:

Clicking a Close button hides the corresponding panel. For more information, see DockLayoutManager.ClosingBehavior.

See Also