Skip to main content

ExpandStateChangingEventArgs.ElementsToExpandCollapse Property

Gets the list of elements to be additionally expanded/collapsed.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

public ExpandCollapseElementList ElementsToExpandCollapse { get; }

Property Value

Type Description
DevExpress.XtraBars.Navigation.ExpandCollapseElementList

The list of elements to be additionally expanded/collapsed.

Remarks

To expand/collapse additional elements in code, add these elements to the ElementsToExpandCollapse list. Each list item identifies an element to be expanded/collapsed and the new expansion state for this element. After your AccordionControl.ExpandStateChanging event handler is complete, the AccordionControl traverses through the ElementsToExpandCollapse list and expands/collapses corresponding elements.

Initially, the ElementsToExpandCollapse list contains a single item, which is the currently processed element (ExpandStateChangingEventArgs.Element).

See Also