Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DockLayoutManager.Collapse(Boolean) Method

Minimizes the expanded auto-hidden panel.

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking

#Declaration

public bool Collapse(
    bool immediately
)

#Parameters

Name Type Description
immediately Boolean

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

#Returns

Type Description
Boolean

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

See Also