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

BaseLayoutItem.ClosingBehavior Property

Gets or sets the way the current item acts if closed.

Namespace: DevExpress.Xpf.Docking

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


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

Property Value

Type Description

A ClosingBehavior enumeration value.


When you close Dock Items they can either be immediately removed, or hidden and placed to the DockLayoutManager.ClosedPanels collection. You can choose a desired option via the ClosingBehavior and DockLayoutManager.ClosingBehavior properties. The ClosingBehavior property has a higher priority than the DockLayoutManager.ClosingBehavior property. If ClosingBehavior property is set to Default, the closing behavior is determined by the DockLayoutManager.ClosingBehavior property.

See Also