Skip to main content
A newer version of this page is available. .

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

Declaration

public bool ShowCloseButton { get; set; }

Property Value

Type Description
Boolean

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

Remarks

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