Skip to main content

AccordionControl.ExpandElement(AccordionControlElement, Boolean) Method

Expands the target element with optional animation effects.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public void ExpandElement(
    AccordionControlElement element,
    bool shouldRunAnimation
)

Parameters

Name Type Description
element AccordionControlElement

An AccordionControlElement object that is the element to be expanded.

shouldRunAnimation Boolean

true if expanding this element should be followed by animation effects; otherwise, false.

Remarks

Use the AccordionControl.ExpandAll method to expand all accordion elements at once.

See Also