Back to Devexpress

ClosingBehavior Enum

wpf-devexpress-dot-xpf-dot-docking-5c1c8e7f.md

latest2.5 KB
Original Source

ClosingBehavior Enum

Contains values that specify how panels are closed.

Namespace : DevExpress.Xpf.Docking

Assembly : DevExpress.Xpf.Docking.v25.2.dll

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public enum ClosingBehavior
vb
Public Enum ClosingBehavior

Members

NameDescription
Default

When applied to a DockLayoutManager via the DockLayoutManager.ClosingBehavior property, acts as the ClosingBehavior.HideToClosedPanelsCollection option.

When applied to a BaseLayoutItem via the BaseLayoutItem.ClosingBehavior property, gets a ClosingBehavior enumeration value of its parent DockLayoutManager .

| | HideToClosedPanelsCollection |

When a panel is closed, it’s hidden and moved to the DockLayoutManager.ClosedPanels collection. The panel can be accessed via the Closed Panels bar (see DockLayoutManager.ClosedPanelsBarVisibility).

| | ImmediatelyRemove |

When a panel is closed, it’s hidden. No reference to the closed panel is kept.

|

The following properties accept/return ClosingBehavior values:

Remarks

Use the DockLayoutManager.ClosingBehavior and BaseLayoutItem.ClosingBehavior properties to specify how panels are closed. An item’s close behavior setting overrides a dock layout manager’s close behavior setting.

See Also

ClosingBehavior

DevExpress.Xpf.Docking Namespace