Skip to main content

ClosingBehavior Enum

Contains values that specify how panels are closed.

Namespace: DevExpress.Xpf.Docking

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

#Declaration

public enum ClosingBehavior

#Members

Name Description
Default

The same as the ClosingBehavior.HideToClosedPanelsCollection option.

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.

#Passed To

You can pass ClosingBehavior values to the following properies:

#Remarks

Use the DockLayoutManager.ClosingBehavior property to specify how panels are closed.

See Also