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.v20.1.dll

Declaration

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

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