Skip to main content

RadialMenu.Collapse(Boolean, Boolean) Method

Collapses the RadialMenu and optionally closes it.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public void Collapse(
    bool animated,
    bool forceClosing
)

Parameters

Name Type Description
animated Boolean

true if the RadialMenu should be collapsed using animation effects; otherwise, false.

forceClosing Boolean

true if the RadialMenu should be closed after collapsing; otherwise, false.

Remarks

A RadialMenu can be collapsed/expanded at runtime via its central button. Use the RadialMenu.Expand or Collapse methods to do the same in code.

To hide a RadialMenu completely, use the RadialMenu.HidePopup method instead.

See Also