Skip to main content
A newer version of this page is available. .

AccordionControl.ExpandElement(AccordionControlElement, Boolean) Method

Expands the target element with optional animation effects.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v19.2.dll

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