Back to Devexpress

DockLayoutManager.Collapse(Boolean) Method

wpf-devexpress-dot-xpf-dot-docking-dot-docklayoutmanager-dot-collapse-x28-system-dot-boolean-x29.md

latest1.5 KB
Original Source

DockLayoutManager.Collapse(Boolean) Method

Minimizes the expanded auto-hidden panel.

Namespace : DevExpress.Xpf.Docking

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

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public bool Collapse(
    bool immediately
)
vb
Public Function Collapse(
    immediately As Boolean
) As Boolean

Parameters

NameTypeDescription
immediatelyBoolean

true, to minimize the panel without a sliding animation effect; otherwise, false , to minimize the panel with a sliding animation effect.

|

Returns

TypeDescription
Boolean

true if the panel is successfully minimized; otherwise, false.

|

See Also

AutoHideGroups

DockLayoutManager Class

DockLayoutManager Members

DevExpress.Xpf.Docking Namespace