Back to Devexpress

AccordionControl.ExpandElement(AccordionControlElement, Boolean) Method

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-accordioncontrol-dot-expandelement-x28-devexpress-dot-xtrabars-dot-navigation-dot-accordioncontrolelement-system-dot-boolean-x29.md

latest2.2 KB
Original Source

AccordionControl.ExpandElement(AccordionControlElement, Boolean) Method

Expands the target element with optional animation effects.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public void ExpandElement(
    AccordionControlElement element,
    bool shouldRunAnimation
)
vb
Public Sub ExpandElement(
    element As AccordionControlElement,
    shouldRunAnimation As Boolean
)

Parameters

NameTypeDescription
elementAccordionControlElement

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.

Note

Use the AccordionControl.ShowPopupForm method to expand an Accordion element when the Accordion is minimized.

See Also

ExpandAll()

AccordionControl Class

AccordionControl Members

DevExpress.XtraBars.Navigation Namespace